Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

HOMEWORK #1-PROGRAM #5 Instructions: For this program you should be able to match the output in Hypergrade, if you are off a space or two

image text in transcribed
HOMEWORK #1-PROGRAM #5 Instructions: 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 your code a more closely and I might find errors I wouldn't have otherwise found Write a C+ program that creates an inwoice for a small fruit vendor named Bob's Fruits The fruit vendor sells three kinds of fruit: oranges, apples, and bananas. Oranges cost 90 end of the world but if you do match (with a groen t you almost guarantees a perfect soore (assuming you ve followed instructions) where if you don't match (a yellow submission) you can still get perfect but I will look at eac. 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 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-$46.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 outpu pseudocode iS mquired for this program and is worth 2 pors The program IS outo-graded

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

Step: 3

blur-text-image

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago