Please help evaluate my comments on the code below

#include <stdio.h>
/Count number digits, whitespace, others/

main()
{
int c, i, nwhite, nother; /c stands for input from keyboard, nwhite, number of whitespaces, nother-other characters other than white spaces, i is the digit input./
int ndigit[10]; /declaration that ndigit is the array of ten degits/

nwhite=nother=0; /*declaration that the minimum white space and others is zero*/
for(i=0; i<10; ++i) /*range of digits betwenn 0 and 10, 10 exluded , increase digit by one*/
    ndigit[i]=0; /*the lowest occurancies of digit is zero*/
    
while ((c = getchar()) !=EOF)/*while the input is not end of the file*/
if (c >= '0' && c<='9') /*condition that the input is between 0 to 9*/
     ++ndigit[c-'0'];/*after testing above the the occurancy of input remains unchanged */
     else if ( c== ' '|| c == '\n' || c== '\t') /*conditon to test if the input is whitespace, newline or tab*/
     ++nwhite;/*if above condition is true then increase number of white spaces by 1*/
     else
     ++nother; /*if all above not true then increase number of other characters other than above by 1*/
printf("digits="); /*display number of occurancy of input numbers*/
for (i = 0; i < 10; ++i)/*for the occurance of the input digits between 0 and 10(0-9), increase occurance of numbers by 1 )*/
printf(" %d", ndigit[i]);/*display on screen number of digits as integers*/
printf(", white space = %d, other = %d\n", nwhite, nother);/*display on screen, number of white spaces, and other as integers*/

}