#include<stdio.h>
#include<string.h>
void main()
{
char str[100],i,word=0;
printf("input english string:\n");
gets(str);
for(i=0;i<strlen(str);i++)
{
if(word==0)
if(str[i]!=0&&str[i]>=97&&str[i]<=128)
{
str[i]-=32;
word=1;
}
if(str[i]==' ') word=0;
}
printf("output the new str:\n");
puts(str);
printf("\n");
}