Board logo

標題: 賽馬程式 (一) [打印本頁]

作者: 鄭繼威    時間: 2023-6-30 20:08     標題: 賽馬程式 (一)

本帖最後由 鄭繼威 於 2023-6-30 20:13 編輯

試設計出如下之執行畫面:
  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. }
複製代碼

作者: 蔡沛倢    時間: 2023-7-1 16:14

  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. }
複製代碼

作者: 廖秝瑜    時間: 2023-7-3 20:33

  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. }
複製代碼

作者: 張絜晰    時間: 2023-7-6 14:35

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

作者: 呂得銓    時間: 2023-7-7 18:13

  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. }
複製代碼

作者: 何權晉    時間: 2023-7-7 19:12

  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. cout<<"★★★The Wetherby Racecourse★★★"<<endl;
  6. cout<<"------------------------------------------------------|Finish Line"<<endl;
  7.     cout<<"◆"<<endl;
  8.     cout<<"★"<<endl;
  9.     cout<<"▲"<<endl;
  10.     cout<<"●"<<endl;

  11. system("pause");
  12. return 0;
  13. }
複製代碼

作者: 黃品禎    時間: 2023-7-8 16:50

  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. }
複製代碼

作者: 吳柏潁    時間: 2023-8-7 17:26

  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. }
複製代碼

作者: 邱品惟    時間: 2023-8-11 18:20

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

作者: 朱奕祈    時間: 2024-2-26 20:42

  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. }
複製代碼





歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/) Powered by Discuz! 7.2