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