返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main ()
  5. {
  6.     int month;
  7.     int electricity, money=0;
  8.     cout<<"☆★☆歡迎您使用電費測量器☆★☆"<<endl;
  9.     cout<<"請您輸入月份(1~12月): ";
  10.     cin>>month;
  11.     cout<<"請輸入您這月用電量(度):"<<endl;
  12.     cin>>electricity;
  13.    

  14.    
  15.     system("pause");
  16.     return 0;
  17. }
複製代碼

TOP

返回列表