#include <iostream>
using namespace std;
int main(){
int ora, min, x;
cout << "Introduceti ora, minut, x: ";
cin >> ora >> min >> x;
min = min + 60*ora + x;
min = min%1440;
cout << "Ora: " << min/60 << endl;
cout << "Minutul: " << min%60 << endl;
}
Nu am citit intrebarea, scz