#include using namespace std; /* Converts hour to minutes and seconds. */ int main() { int Hours, Minutes, Seconds; cout << "This program converts an input hour value into minutes and second" << endl; // read the hour input from user cout << "Please enter an integer value for hour: "; cin >> Hours; // calculate the minutes Minutes = Hours * 60; // calculate the seconds Seconds = Minutes * 60; //Display output cout << Hours << " hours are " << Minutes << " minutes and " << Seconds << " seconds." << endl; return 0; }