一:实验内容
1.
实验要求:.输入一个字符串,统计大写字母、小写字母、空格、数字和其他字符的个数。(要求用字符数组)
代码:
#include<stdio.h> #define N 100 int main() { int i,number[5]={0}; char c[N]; printf("请输入一串字符。 "); gets(c); for(i=0;c[i]!='