Question: For this program you should be able to match the output in Hypergrade, if you are off a space or two it's not the end

For this program you should be able to match the output in Hypergrade, if you are off a space or two it's not the end of the world but if you do match (with a green submission) it you almost guarantees a perfect score (assuming you've followed instructions) where if you don't match (a yellow submission) you can still get perfect but I will look at your code a more closely and I might find errors I wouldn't have otherwise found. Write a C++ program that creates an invoice for a small fruit vendor named "Bob's Fruits". The fruit vendor sells three kinds of fruit: oranges, apples, and bananas. Oranges cost .90 each, apples cost .65 each and bananas cost .70 each. For each type of fruit the program should ask the user how many of this type of fruit they would like to purchase (zero is an acceptable answer). After obtaining the purchase information from the user display an invoice on the screen similar to this:

BOB'S FRUITS GROCERY INVOICE

-----------------------------------

20 Apples @ 0.65 each = $ 13.00

20 Oranges @ 0.90 each = $ 18.00

20 Bananas @ 0.70 each = $ 14.00

-------

TOTAL = $ 45.00

This invoice is an example of the case where a user buys 20 oranges, 20 apples and 20 bananas. Make sure and use symbolic constants where appropriate in your program and make sure to format your numeric output. *Pseudocode IS required for this program

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!