摘要: 1编写程序,使用循环结构,计算字符串长度。 #include<stdio.h> main(){ char a[50]; int i; gets(a); for(i=0;a[i]!='\0';i++); printf("%d",i); } 2编写程序,统计大写字母。 #include<stdio.h> 阅读全文
posted @ 2021-11-23 09:47 荽邊 阅读(23) 评论(0) 推荐(0)