题解 1477: 字符串输入输出函数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

1477: 字符串输入输出函数

摘要:简单题。#include<iostream> using namespace std; int main() {        double n;     string s;     co……

字符串输入输出函数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>float GetReal(float a){ printf("%.2f\n",a);}char GetString(char b[])……

字符串输入输出函数-题解

defGetReal(inpn):print(inpn)defGetString(inps):print(inps)defmain():inpn=input('pleaseinputanumber:\n')inps=input('pleaseinputastring:\n')GetReal(inpn)