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. 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.
Also, don't forget to use a named constant for the number 16.
Sample output:
enter pounds (negative number to quit): 4 4 pounds is 64 ounces. enter pounds (negative number to quit): 3 3 pounds is 48 ounces. enter pounds (negative number to quit): 2 2 pounds is 32 ounces. enter pounds (negative number to quit): -1