poj3062---输入什么输出什么

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

int main()
{
    char str[100];
    while(gets(str) != NULL)
    {
        printf("%s\n",str);
    }
    return 0;
}
View Code

 

posted @ 2015-06-19 16:02  Gabyler  阅读(89)  评论(0编辑  收藏  举报