Advertisement
Guest User

Untitled

a guest
Dec 7th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.         int t;
  8.         int h;
  9.         int m;
  10.         int s;
  11.         cin>>t;
  12.         cin>>h;
  13.         cin>>m;
  14.         cin>>s;
  15.         if(t < 60 * m){
  16.           cout<<"sunt secunde" ;
  17.         }else{
  18.             if(t > 60 * m){
  19.                 cout<<"sunt ore";
  20.             }
  21.            if(t = 60 * m){
  22.             cout<<"sunt minute";
  23.  
  24.            }
  25.  
  26.         }
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.     return 0;
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement