竞赛
考级
#include <iostream> using namespace std; int main(){ cout<<4396+2200<<endl; cout<<4396-2200<<endl; cout <<4396*2200<<endl; cout <<4396/2200<<endl; cout <<4396%2200; return 0; }
666
黑白世界
四大Tian王
ssssssssssssssss
#include <iostream> using namespace std; int main() { int a=4396,b=2200; cout<<a+b<<endl; cout<<a-b<<endl; cout<<a*b<<endl; cout<<a/b<<endl; cout<<a%b<<endl; return 0; }
对方正在输入...
#include <iostream> using namespace std; int main() { int a = 4396, b = 2200; cout << a + b << endl << a - b << endl << a * b << endl << a / b << endl << a % b; return 0; } 先定义两个变量,然后输出的时候,写一个算式加一个endl。
138****0077
programmerGYM
#include <iostream> using namespace std; int main() { int a = 4396,b = 2200; cin>>a>>b; cout<<a+b <<endl; cout<<a-b <<endl; cout<<a*b <<endl; cout<<a/b <<endl; cout<<a%b; return 0; }
mc钟昊能
151****9879
#include <iostream> using namespace std; int main() { int h; int g; h=4396; g=2200; cout<<h+g<<endl; cout<<h-g<<endl; cout<<h*g<<endl; cout<<h/g<<endl; cout<<h%g; return 0; }
薛博文
#include<iostream> using namespace std; int main() { int a=4396; int b=2200; cout<<a+b<<endl; cout<<a-b<<endl; cout<<a*b<<endl; cout<<a/b<<endl; cout<<a%b<<endl; return 0; }
T0
LOVEKlee1314
王子豪
共33条