標題:
賽馬程式 (一)
[打印本頁]
作者:
周政輝
時間:
2018-5-5 14:19
標題:
賽馬程式 (一)
試設計出如下之執行畫面:
[attach]4010[/attach]
作者:
鄭楀諺
時間:
2018-5-5 14:21
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
srand(time(NULL));
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"|-------------------------------------------------------------------------|終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
林峻安
時間:
2018-5-5 14:31
#include <iostream>
#include <cstdlib>
#include <time.h>
using namespace std;
int main()
{
srand(time(NULL));
cout<<"「賽馬場」"<<endl;
cout<<"|-----------------------------------------------------|終點"<<endl;
cout<<"ω"<<endl;
cout<<"£"<<endl;
cout<<"Θ"<<endl;
cout<<"卍"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
戴嘉禾
時間:
2018-5-5 14:34
#include<iostream>
#include<cstdlib>
#include<time.h>
using namespace std;
int main()
{
srand (time(NULL));
cout<<"☆★☆[好事成雙]賽馬場☆★☆"<<endl;
cout<<"=========================================================|終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"☆"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
王駿愷
時間:
2018-5-5 14:34
#include<iostream>
#include<cstdlib>
#include<time.h>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"--------------------------------------------------------------------------------"<<endl;
cout<<"●"<<endl;
cout<<"▼"<<endl;
cout<<"■"<<endl;
cout<<"★"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
黃安立
時間:
2018-5-5 14:34
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
srand(time(NULL));
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"|=================================================================================|終點"<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
王駿愷
時間:
2018-5-5 14:34
#include<iostream>
#include<cstdlib>
#include<time.h>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<<endl;
cout<<"-------------------------------------------------------------[終點"<<endl;
cout<<"●"<<endl;
cout<<"▼"<<endl;
cout<<"■"<<endl;
cout<<"★"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
顏詢
時間:
2018-5-5 14:35
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
while(true)
cout<<" {好事成雙}賽馬場 "<<endl;
cout<<" ================================================== 終點 "<<endl;
cout<<"◆"<<endl;
cout<<"★"<<endl;
cout<<"▲"<<endl;
cout<<"●"<<endl;
system("pause");
return 0;
}
複製代碼
作者:
吳秉翰
時間:
2018-5-5 14:37
本帖最後由 吳秉翰 於 2018-5-5 14:38 編輯
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
cout<<"「好事成雙」賽馬場"<< endl;
cout<<"----------------------------------|終點"<<endl;
cout<<"◆"
cout<<"★"
cout<<"▲"
cout<<"●"
system("pause");
return 0;
}
複製代碼
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://seed.istak.org.tw/)
Powered by Discuz! 7.2