小题解(暴力
2023-08-03 15:36:27
发布于:广东
28阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<<4396<<"+"<<2200<<"="<<4396+2200<<endl;
cout<<4396<<"-"<<2200<<"="<<4396-2200<<endl;
cout<<4396<<"*"<<2200<<"="<<4396*2200<<endl;
cout<<4396<<"/"<<2200<<"="<<4396/2200<<endl;
cout<<4396<<"%"<<2200<<"="<<4396%2200<<endl;
return 0;
}
全部评论 1
#include<bits/stdc++.h>
using namespace std;
int main(){
int h=2200,c=4396;
cout<<c<<"+"<<h<<"="<<c+h<<endl;
cout<<c<<"-"<<h<<"="<<c-h<<endl;
cout<<c<<""<<h<<"="<<ch<<endl;
cout<<c<<"/"<<h<<"="<<c/h<<endl;
cout<<c<<"%"<<h<<"="<<c%h;//证明:我没复制!!!
//不写return 0;好习惯!!!
}1周前 来自 广东
0
有帮助,赞一个