求一个自编的应用程序

发布时间:2024-05-28 02:54 发布:上海旅游网

问题描述:

高中生水平即可

问题解答:

int main()//经典的hello world
{
printf("hello world\n");
return 0;
}

#include <iostream>
using namespace std;

int main()
{
int a,b;
while(cin >> a >> b)
cout << a+b << endl;
}

求a+b的。。

楼上的这个是个程序,但总感觉没什么可应用的:)

热点新闻