Board logo

標題: 一杯珍珠奶茶 ? 元 [打印本頁]

作者: 謝典育    時間: 2013-9-20 11:33     標題: 一杯珍珠奶茶 ? 元

本帖最後由 謝典育 於 2013-9-20 12:00 編輯

[attach]757[/attach]
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     for( int i = 1; i <= 5; i++)
  7.     {
  8.          cout<< i << "杯珍珠奶茶" << i*60 << "元" << endl;   
  9.     }

  10.     system("pause");
  11.     return 0;
  12. }
複製代碼





歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/) Powered by Discuz! 7.2