返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
  //五則運算
  //int x;
  //int y;
  int x = 23,y = 7;
  
  
   cout<<"x+y ="<< x + y << endl;
   cout<<"x-y ="<< x - y << endl;
   cout<<"x*y ="<< x * y << endl;
   cout<<"x/y ="<< x / y << endl;
   cout<<"x%y ="<< x % y << endl;
     
   system("pause");
   return 0;
}

TOP

返回列表