Description
给你一些英文句子,请将这些句子中的每个英语单词反转,然后再将其输出。这里所说的英语单词仅由大、小写英文字母组成。
Input
多个英文句子,每句占一行,且每句不超过80个字符。
Output
按题目要求输出。
Sample Input
Hello world!
Happy programming, happy life!
Sample Output
olleH dlrow!
yppaH gnimmargorp, yppah efil!
#include<stdio.h>
#include<string.h>
int main(){
char str[85],c;
int l,i,j,k;
while(gets(str)){
// gets(str);
l=strlen(str);
// if(l==0)break; //**********这么写不过 *************