Gravatar
坤坤
积分:6
提交:4 / 17

#include<cstdio>

#include<iostream>


using namespace std;


int main(){

int a, b;//定义两个加数

freopen("aplusb.in", "r", stdin);//导入文件

freopen("aplusb.out", "w", stdout);

cin >> a >> b;//输入加数

cout << a+b;//相加并输出

fclose(stdin);//关闭文件

fclose(stdout);

return 0;

}



题目1  加法问题      2      评论
2022-10-05 17:42:37