返回列表 發帖
  1. using namespace std;
  2. int main()
  3. {

  4.     int a[8]={30,31,33,32,31,35,28,29};
  5.     string b[8]={"忠","孝","仁","愛","信","義","和","平"};


  6.     for(int i=0; i<8; i++)
  7.         cout<<"5年"<<b[i]<<"班有"<<a[i]<<"人"<<endl;




  8.     system("pause");
  9.     return 0;
  10. }
複製代碼

TOP

返回列表