#ITC0001. 基础语法
基础语法
题目描述
口算下面这段代码,输出是什么?
#include<bits/stdc++.h>
using namespace std;
int main(){
int a, b, c, d, ans;
cin >> a >> b >> c;
d = a - b;
a = d + c;
ans = a * b;
cout << ans << endl;
return 0;
}
输入
2 3 4
输出
输出上述代码运行后ans的值,把值写在''cout<<''后面,并递交。
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<< ;
return 0;
}
统计
相关
在下列比赛中: