+ 1
Adding Time
Here's what I got. Please tell me how to convert the program that would fully add time. And I add up just ticks.
1 Respuesta
+ 1
#include <iostream>
using namespace std;
int main()
{
int hh,mm;
int HH,MM1,MM2;
cout <<"Hours ";
cin >>hh;
cout <<"Minuts ";
cin >>mm;
MM1=mm+20;
HH=hh;
cout <<HH<<":"<<MM1<<" 1Poz"<<endl;
MM2=MM1+15;
cout <<HH<<":"<<MM2<<" 2Poz"<<endl;
return 0;
}