返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     string n[3]={"CAD呵  ","NERvGearㄛ",吉太 喔 "};
  7.     int p[3]={10000,22222222222222222222222222222222222222222222,20000000};
  8.     cout<<"***動漫商品店***"<<endl;
  9.     cout<<"商品價目表"<<endl;
  10.     cout<<"+=+=+=+=+=+=+"<<endl;
  11.     for(int i=0; i<3; i++)
  12.     {
  13.         cout<<"("<<i+1<<")"<<n[i]<<"\t"<<p[i]<<"元"<<endl;
  14.     }   
  15.     system("pause");
  16.     return 0;   
  17. }
複製代碼

TOP

返回列表