- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- cout<<"555555"<<endl;
- int number = 10;
- cin>>number;
- cout<<number<<endl;
- cout<<"你輸入的文字是:"<<number<<endl;
- 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;
-
-
- }
複製代碼 |