输入字符串

printf("%d",a);

gets(a);读入一整行

puts(a);自动换到下一行

原文地址:https://www.cnblogs.com/Cathycat/p/11247428.html