2024-09-30 07:21:36
2024-09-30 03:22:18
2024-09-30 01:52:29
2024-09-30 05:56:49
#include<stdio.h>
void main()
{
char str[30];
int i,b=0;
printf("input a string:\n");
scanf("%s",str);
for(i=0;str[i]!='\0';i++)
{ if (str[i]>='a'&& str[i]<='z')b++;}
printf("%d\n",b);
}
2024-09-30 08:58:59