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

时间:2015-06-19 16:40:06   收藏:0   阅读:104
技术分享
#include <stdio.h>
#include <stdlib.h>

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

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!