#4129. 3-2字符串输入输出函数
3-2字符串输入输出函数
题目描述
算法提高 3-2字符串输入输出函数 时间限制:1.0s 内存限制:512.0MB 描述 编写函数GetReal和GetString,在main函数中分别调用这两个函数。在读入一个实数和一个字符串后,将读入的结果依次用printf输出。 两次输入前要输出的提示信息分别是"please input a number:\n”和"please input a string:\n" 样例输入 9.56hello 样例输出 please input a number:please input a string:9.56hello9.56hello
样例输出
please input a number:please input a string:9.56helloplease input a number:please input a string:9.56hello