Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int t;
- int h;
- int m;
- int s;
- cin>>t;
- cin>>h;
- cin>>m;
- cin>>s;
- if(t < 60 * m){
- cout<<"sunt secunde" ;
- }else{
- if(t > 60 * m){
- cout<<"sunt ore";
- }
- if(t = 60 * m){
- cout<<"sunt minute";
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement