33,311
社区成员
发帖
与我相关
我的任务
分享
#include <iostream>
using namespace std;
#include <iostream>
using namespace std;
int add(int x, int y)
{
int z = x+ y;
return z;
}
int main()
{
int a, b, c;
a = 10;
b = 10;
c = add(a, b);
cout << "a + b = " << c << endl;
system("pause");
return 0;
}