第一题:
实验代码:
#include<stdio.h> #define n 100 int main() { char a[n]; int i,a1=0,b=0,c=0,d=0; printf("Please input the string: "); gets(a); for (i=0;a[i]!='