返回列表 發帖
#include<iostream>
#include<cstdlib>
using namespace std;
{
     int x=5,y=3;
     cout<<"當x等於"<<x<<"y等於"<<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

返回列表