- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- int number1=32;
- int number2=14;
- cout<<"number1+number2="<<number1+number2<<endl;
- cout<<"number1-number2="<<number1-number2<<endl;
- cout<<"number1*number2="<<number1*number2<<endl;
- cout<<"number1/number2="<<number1/number2<<endl;
- cout<<"number1%number2="<<number1%number2<<endl;
-
- system("pause");
- return 0;
-
-
- }
複製代碼 |