Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- int main()
- {
- int m,n;
- cin>>m>>n;
- if(n>m)
- {
- cout<<"O JOGO DUROU "<<n-m<<" HORA(S)"<<endl;
- }
- else if(m>=n)
- {
- cout<<"O JOGO DUROU "<<(24+n)-m<<" HORA(S)"<<endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement