標題:
賽馬程式 (一)
[打印本頁]
作者:
方浩葦
時間:
2024-7-27 11:15
標題:
賽馬程式 (一)
試設計出如下之執行畫面:
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
林少謙
時間:
2024-7-27 14:26
[code]#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"空蕩蕩賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
[/code]
作者:
劉奕劭
時間:
2024-7-27 14:46
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
李唯銘
時間:
2024-7-27 14:50
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
洪榮辰
時間:
2024-7-27 14:50
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"★"<<endl;
cout<<"■"<<endl;
cout<<"▼"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
陳妍蓁
時間:
2024-7-27 14:58
#include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
cout<<"「好事成雙」賽馬程式"<<endl;
cout<<"---------------------------------------------------------------|終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
李偈睿
時間:
2024-8-10 14:28
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"-------------------------------------------------------------------------| 終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2