Board logo

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

作者: may    時間: 2023-3-6 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-3-11 14:17

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main(){
  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. }
複製代碼

作者: 林雋喆    時間: 2023-3-11 14:39

  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-3-11 14:39

  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-3-11 14:39

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

作者: 翁川祐    時間: 2023-3-11 14:40

  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-3-11 14:49

本帖最後由 陳牧謙 於 2023-3-11 14:52 編輯
  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.     cout<<endl;
  13.     system("pause");
  14.     return 0;
  15. }
  16.      
複製代碼

作者: 陳泓亦    時間: 2023-3-11 14: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-3-11 14:56

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

作者: 陳宥霖    時間: 2023-3-12 21:46

  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-3-18 12:04

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main(){
  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. }
複製代碼

作者: 宜儒    時間: 2023-3-18 12:15

  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main(){
  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. }
複製代碼





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