Question: Write a program named HoursAndMinutes that declares a minutes variable to represent minutes worked on a job, and assign a value to it. Display the

Write a program named HoursAndMinutes that declares a minutes variable to represent minutes worked on a job, and assign a value to it.
Display the value in hours and minutes. For example, if 98 is assigned to the minutes variable, the output would be: 98 minutes is 1 hours and 38 minutes.
Note: For final submission assign 197 to the minutes variable
Programming Exercise 2-7 structions HoursAndMinutes.cs + 1 using System; 2 using static System.Console; 3 class HoursAndMinutes Write a program named HoursAndMinutes that declares a minutes variable to represent minutes worked on a job, and assign a value to it. static void Main() Display the value in hours and minutes. For example, if 98 is assigned to the minutes variable, the output would be: 98 minutes is 1 hours and 38 minutes. 9 } Note: For final submission assign 197 to the minutes variable Grading When you have completed your program, click the Submit button to record your score
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
