Question: Write a program that asks the user to enter a number of pounds and then prints the equivalent number of ounces. ( 1 pound is

Write a program that asks the user to enter a number of pounds and then prints the equivalent number of ounces. (1 pound is 16 ounces.) Then, rewrite the program so that it repeats itself until the user wants to quit.
Make sure your file name is main.cpp
Adhere to Programming with Style, Initial File Comments and Inline Comments and Style Conventions.
Keep in mind that Style Conventions is weighted on grading schema.
Do not use any advance features that have not been covered in this course.
Use a special-value-type loop, with any negative number entered to quit the program.
Make sure to follow the patterns introduced in the lesson closely, and make sure that you assume that the user may not want to execute the loop even once.

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 Programming Questions!