返回列表 發帖

賽馬程式 (一)

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

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

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<<"「1234」賽馬場"<<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.    
  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

  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. }
複製代碼
李宇澤Oscar

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

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

TOP

返回列表