返回列表 發帖

賽馬程式 (一)

試設計出如下之執行畫面:


符號參考:◆★▲●
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {   
  6.     cout<<"好事成雙 賽馬場"<<endl;
  7.     cout<<"--------------------------------------------------------------------------|終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;   
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「賭博」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"★"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"★"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------|終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;
  12.     system("pause");
  13.     return 0;  
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"日本東京競馬場<東京優駿>[2400m草地]"<<endl;
  7.     cout<< "----------------------------------------------------------------------|goal"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「智慧」賽馬場"<<endl;
  7.     cout<<"-----------------------------------------------------------------|終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「387」 賽馬場  "<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」運動場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「我也不知道」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"TW"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.   cout<<"賽馬場"<<endl;
  7.   cout<<"-------------------------------------------------------終點"<<endl;  
  8.    cout<<"▲"<<endl;
  9.    cout<<"●"<<endl;
  10.    cout<<"?"<<endl;
  11.    cout<<"★"<<endl;
  12. system("pause");   
  13. return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     cout<<"「好事成雙」賽馬場"<<endl;
  7.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  8.     cout<<"◆"<<endl;
  9.     cout<<"★"<<endl;
  10.     cout<<"▲"<<endl;
  11.     cout<<"●"<<endl;     
  12.     system("pause");
  13.     return 0;   
  14. }
複製代碼

TOP

  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<ctime>
  4. using namespace std;
  5. int main()
  6. {
  7.     cout<<"「好事成雙」賽馬場"<<endl;
  8.     cout<<"------------------------------------------------------------------------| 終點"<<endl;
  9.     cout<<"◆"<<endl;
  10.     cout<<"★"<<endl;
  11.     cout<<"▲"<<endl;
  12.     cout<<"●"<<endl;
  13.     system("pause");
  14.     return 0;
  15. }
複製代碼

TOP

返回列表