返回列表 發帖
[code]#include<iostream>
#include<cstdlib>
using namespace std;

int main()
{
     int age=0;
     string school;
     cout<<"請輸入你的年齡"<<endl;
     cin>>age;
     cout<< "請輸入你的學校"<<endl;
     cin>>school;
     cout<<"我讀"<<school<<endl;
     cout<<"今年"<<age<<"歲";
     system("pause");
     return 0;
     }

TOP

返回列表