Question: For this program, follow Program Guidelines for the Header and Comments. Write a C++ program that prompts the user to enter the last name of

 For this program, follow Program Guidelines for the Header and Comments.

For this program, follow Program Guidelines for the Header and Comments. Write a C++ program that prompts the user to enter the last name of a family and the total number of pints of blueberries picked by this family on a visit to the local expressed Pick-Your-Own Farm. The program then computes the same amount of fruit, as the number of gallons, quartsand pints. Conversion factors are based on: 4 quarts = 1 gallon 2 pints = 1 quart Label the output to read like a sentence. Include the units of measurement. For example, if the input is 69 pints picked by the Smith family, the output could be: The Smith family picked 8 gallon(s), 2 quart(s) and 1 pint(s). You must turn in: (1) Your hand written algorithm, in English statements; formulas may be used to show the calculations needed, and variables used in the formulas need to be identified. (2) Your source file (.cpp), which runs in Visual C++.Output of two runs which use:161 pints picked by the Jones family 206 pints picked by the Johnson-Walker family is to be pasted at the end of your source code, in a paragraph comment (between/* and */symbols)

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!