Sunday, May 24, 2015

string(4)

#include <stdio.h>
#include <stdlib.h>

int main()
{
char ch[100];
while(gets(ch)){
    if(ch[0]=='\0')
        return 0;
    printf("%s\n",ch);
}
return 0;
}

No comments:

Post a Comment