Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help me witht he program please Program 2 COSC 112.001, Spring 2018 Program m that reads from a file the name of a family and

image text in transcribed

Help me witht he program please

Program 2 COSC 112.001, Spring 2018 Program m that reads from a file the name of a family and the total number of pints of follow Program Guidelines for the Header and Comments. For this program, Write a C++ progra blueberries p computes Conversion factors are based on: 4 quarts 1I gallon 2 pints 1 quart the same amount of fruit expressed as the number of gallons, quarts and pints. The input has the form: 69 pints were picked by: The Smith family so you will have to use the ignore function to get to the data you need to read in. 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). The output is written to a file. You must turn in: (1) Your 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 program, including comments which identify the algorithm steps being done by each part of the program. (3) Output of two runs which use: a. b. 161 pints picked by the Jones family 206 pints picked by the Johnson-Walker family Attach files to an email message Note: I will compile your source program and run it using my own data test values. Due date: February 29, 2018

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions