Question: In this assignment, students will show master over basic input, expression, and output. Write a program that prompts the user for the number of minutes

In this assignment, students will show master over basic input, expression, and output.
Write a program that prompts the user for the number of minutes that were worked.
Your program should produce the following output based on 110 minutes:
You worked 110 minutes.
You worked for 1 hours and 50 minutes.
In decimal time, you worked 1.83 hours.
You do no have to concern yourself with the plural/singular of the word hour: 1 hours is acceptable.
Rules of Engagement
Violating the rules of engagement will lead to a grade of zero.
The first three lines of the program should be comments that show: student name, course, and assignment.
There should be three sections with a comment label: Input, Processing, and Output.
Input -- code that gathers information from the user.
Processing -- code that uses the input to support the output.
Output -- code that displays the results.
Only print statements are allowed in the Output section - each print statement is permitted a single string literal with variables. Print statements with expressions are not allowed.
Only programming constructs covered in lesson 1 and 2.
The following datatypes are allowed: string, float, and integer.
You should have a single print statement that corresponds to each line in the sample output.
Your program should work with a range of values -- not just 110 minutes.
 In this assignment, students will show master over basic input, expression,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!