1 solutions
-
0
C++ :
#include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> using namespace std; int a=10,b=50; int main(){ int mul,div,mod; double rdiv; cout<<"a: "<<a<<endl; a=a+5; cout<<"a+5: "<<a<<endl; a++; cout<<"a++: "<<a<<endl; a+=5; cout<<"a+=5: "<<a<<endl; cout<<"b: "<<b<<endl; b=b-10; cout<<"b-10: "<<b<<endl; b--; cout<<"b--: "<<b<<endl; b-=10; cout<<"b-=10: "<<b<<endl; // system("pause"); return 0; }
- 1
Information
- ID
- 17731
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By