How to output the number of letters in C language
Most people do not understand the knowledge points of this article "how to output the number of letters in c language", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article "how to output the number of letters in c language".
1. Topic description
Enter a string and count the number of letters in it.
two。 Format and sample
Input
A string with no spaces (less than 100 in length)
Output
The number of letters in a string
Sample input
124lfdk54AIEJ92854&%$GJ
Sample output
ten
3. Reference answer 1#include
2int main ()
3 {
4char s [101]
5int iQuery summons 0
6gets (s)
7for (iFix [I]; iTunes +)
8 {
9if (s [I] > = 'Avalanche & s [I]) =' averse & s [I]