Question: 2. Write a program that converts time in minutes to time in hours and minutes. Use #define or const to create a symbolic constant for
2. Write a program that converts time in minutes to time in hours and minutes. Use #define or const to create a symbolic constant for 60. Use a while loop to allow the user to enter values repeatedly and terminate the loop if a value for the time of 0 or less is entered. Save your completed file as Q1_2.cpp. [6 Marks) For your run, use the following data: 45, 90, 120,0. Take a screenshot of your output window AND a screenshot of your C code. Save the two screenshots in a Word file called Quiz1_
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
