返回列表 發帖
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4. int main (void){
  5.     int sec,min,hour,johnny;
  6.     cout <<"請輸入all time"<<endl;
  7.     cin >> johnny;
  8.    
  9.      hour=johnny/(60*60),johnny=johnny-(hour*60*60);
  10.      min=johnny/60,johnny=johnny-(min*60);
  11.      sec=johnny;
  12.      cout<<endl;
  13.      cout <<"*******hour*******      = "<<hour<<endl;
  14.      cout <<endl;
  15.      cout <<"*******minute*******      = "<<min<<endl;
  16.      cout <<endl;
  17.      cout <<"*******second*******      = "<<sec<<endl;
  18.      cout <<endl;
  19.       
  20. system("pause");
  21. return 0;
  22. }
複製代碼
分數掛蛋的心情像空白的紙,再次期望著奇蹟的到來。

TOP

返回列表