返回列表 發帖
  1. #include<cstdlib>
  2. #include<iostream>
  3. using namespace std;
  4. int main()
  5. {
  6.   int a=10,b=5;
  7.   cout<<a+b<<endl;
  8.   cout<<a-b<<endl;
  9.   cout<<a*b<<endl;
  10.   cout<<a/b<<endl;
  11.   cout<<a%b<<endl;
  12.   system("pause");   
  13.   return 0;  
  14. }
複製代碼

TOP

返回列表