本帖最後由 洪振庭 於 2015-7-11 10:50 編輯
- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- cout<<"1.Harry Poter "<<endl;
- cout<<"2.Ron Weasley "<<endl;
- cout<<"3.Cedric Diggory "<<endl;
- cout<<"4.Draco Malfoy "<<endl;
- cout<<"5.Cho Chang "<<endl;
- cout<<"6.Fred Weasley "<<endl;
- cout<<"7.George Weasley "<<endl;
- cout<<"8.Ginny Weasley "<<endl;
- system("pause");
- cout<<"Broomstick fling a match of Hogwarts"<<endl;
- cout<<"---------------------------------------------------------|win"<<endl;
- cout<<"1"<<endl;
- cout<<"2"<<endl;
- cout<<"3"<<endl;
- cout<<"4"<<endl;
- cout<<"5"<<endl;
- cout<<"6"<<endl;
- cout<<"7"<<endl;
- cout<<"8"<<endl;
- system("pause");
- return 0;
- }
複製代碼 |