- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- string name[]={"黃色飛機 ","金正恩模型","笑氣 ","智障遊戲","手槍 ","充氣玩偶","籃鳥 ","核彈 ","雄商飛彈"};
- int price[]={1233,666,325,999,2150,2999,799,95000000,49999999};
- cout<<"☆★☆畸形軍火庫☆★☆"<<endl<<endl;
- cout<<"[商品價目表]"<<endl;
- for(int i=0; i<9; i++)
- cout<<"("<<i+1<<")"<<name[i]<<"\t"<<price[i]<<"元"<<endl;
- system("pause");
- return 0;
- }
複製代碼 |