#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
int x=23;
int y=7;
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;
cout<<"x%Y="<<x%y<<endl;
string str="";
float flo=0;
// cin>>number;
// cout<<number<<endl;
cout<<str<<endl;
system("pause");
return 0;
} |