Board logo

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

作者: tonyh    時間: 2020-2-14 19:54     標題: 賽馬程式 (一)

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

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

作者: 黃辰昊    時間: 2020-2-14 20:00

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

作者: 孫嘉駿    時間: 2020-2-14 20:01

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

作者: 陳宥穎    時間: 2020-2-14 20:01

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

作者: 林政瑜    時間: 2020-2-14 20:06

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

作者: 李宇澤    時間: 2020-2-14 20:06

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

作者: 蔡忻霓    時間: 2020-2-14 20:11

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

作者: 余有晉    時間: 2020-2-14 20:11

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

作者: 黃宥華    時間: 2020-2-14 20:11

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

作者: 董宸佑    時間: 2020-2-14 20:15

  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<<endl;    system("pause");
  12.     return 0;
  13. }
複製代碼





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