Question: Complete Project 5 . 1 . Write a program that asks the user to enter a number of pounds and then prints the equivalent number
Complete Project
Write a program that asks the user to enter a number of pounds and then prints the equivalent number of ounces. pound is 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 questiontype loop.
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.
Sample output:
Is there a pounds to convert Y or N Y
enter pounds:
pounds is ounces.
Is there another pounds to convert? Y
enter pounds:
pounds is ounces.
Is there another pounds to convert? Y
enter pounds:
pounds is ounces.
Is there another pounds to convert? N
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
