Counting number of lowercase.[NEWBIE]
hi, i am new in this forum. i have a problem with my code. can someone correct it for me and give some advice.
i want to find out the number of lowercase letters used in the name...
this is the code tat i stuck with....
and the output is 11 if i enter [Ben] as my input...
cout<<"Enter name: ";
for(int i=0; name[i]; i++)
int sum = 0;
i want to count the it so the ouput will display 2.
can someone help me on this please.