#include using namespace std; /* Converts hour to minutes and seconds. */ int main() { int Time; 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 >> Time; cout << Time << " hours are "; // calculate and display the minutes Time = Time * 60; cout << Time << " minutes and "; // calculate and display the seconds Time = Time * 60; cout << Time << " seconds." << endl; return 0; }