杭电2026
作者:互联网
#include<stdio.h>
#include<ctype.h>
int main()
{
int flag;
char a[101];
while(gets(a))
{
flag=1;
for(int i=0;a[i]!='\0';i++)
{
if(flag==1)
{
flag=0;
a[i]-=32;
}
if(!isalpha(a[i])) flag=1;
}
puts(a);
}
return 0;
}
标签:char,main,return,int,flag,杭电,2026,include 来源: https://blog.csdn.net/qq_60656035/article/details/120484374