摘要: #include<stdio.h> main() { int a; float b; char c; scanf("%d%f%c",&a,&b,&c); printf("%d\n%f\n%c\n",a,b,c); } #include<stdio.h> main() { float s,l; pri 阅读全文
posted @ 2021-11-24 23:06 史孟琦 阅读(31) 评论(0) 推荐(0)
摘要: #include<stdio.h> main() { char str[20]; int i,cnt; cnt= i=0; gets(str); while(str[i]!='\0') { if(str[i]>='A'&&str[i]<='Z') cnt++; i++; } printf("大写字母 阅读全文
posted @ 2021-11-24 22:58 史孟琦 阅读(30) 评论(0) 推荐(0)