                              ______________________65

int main()
{

int blank_cnt =0, , digit_cnt = 0, //, 
letter_cnt = 0, nl_cnt = 0, other_cnt = 0;

//,  ,   
while (( = getcharO) i= EOF)
if Cc ==   )

++blank_cnt ;

else if (c >= '0' &&  <= '9')
++digit_cnt ;

else if (c >= 'a' &&  <= 'z'  I  >= '' &&
 <= 'Z')
++letter_cnt ;

else if (c == '\n')
++nl_cnt;

else

++other_cnt ;

printf("%10s%10s%10s%10s%10s%10s\n\n",

"blanks", "digits", "letters", "lines",

"others", "total");

printf("%10d%10d%10d%10d%10d%10d\n\n",

blank_cnt, digit_cnt, letter_cnt, nl_cnt,

other_cnt, blank_cnt + digit_cnt + letter_cnt +

nl__cnt + other_cnt);

}

 get char ()      .  -
   EOF (End Of File)   -1.  
 ,    .   22
 . 67    ,     
ASCII-.

11.    ,     
iostream.h.  -   stdio.h, 
     ,       -
.  

int printf(const char* cntrl_str, ...)

 ' , ,    
       -
.          
 .

12.     10  . 64 ,     -
 switch.

'  (.)  ,   .  . .