Question: in codeblock for c++ umber in ounces (oz). Write a 3. Write a program that requests a weight n function that converts the weight to

in codeblock for c++  in codeblock for c++ umber in ounces (oz). Write a 3.

umber in ounces (oz). Write a 3. Write a program that requests a weight n function that converts the weight to pounds (1b) and grams (g) a) Main should handle all input and output. b) Exit (This requires that variables in main are updated by the function.) t program if and only if the sentinel value (zero) is entered. c) Secondary function should only handle calculations. Output Example: Enter the weight of your item in ounces (oz) or enter zero to end the program:-1 Please enter a positive value. Try again. Enter the weight of your item in ounces (oz) or enter zero to end the program: 32.32 32.32 oz = 2.02 lb 32.32 oz 916.26 g Enter the weight of your item in ounces (oz) or enter zero to end the program: 0 Exit program. Good bye

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!