#includeint main(){ std::cout << "请输入三个数字,以空格分隔,按回车键结束:" << std::endl; int a = 0, b = 0, c = 0; std::cin >> a >> b >> c; std::cout << a << " + " << b << " + " << c << " = "<< a + b + c << std::endl; return 0;}
本文共 298 字,大约阅读时间需要 1 分钟。
#includeint main(){ std::cout << "请输入三个数字,以空格分隔,按回车键结束:" << std::endl; int a = 0, b = 0, c = 0; std::cin >> a >> b >> c; std::cout << a << " + " << b << " + " << c << " = "<< a + b + c << std::endl; return 0;}
转载于:https://www.cnblogs.com/funnyweb/p/6212902.html