Question: Exercise #2: Bill + program that calculates and prints the total bill including 5% VAT for a customer at a fruit shop according to the

 Exercise #2: Bill + program that calculates and prints the total

Exercise #2: Bill + program that calculates and prints the total bill including 5% VAT for a customer at a fruit shop according to the following table. The user will enter fruit code followed by the quantity in Kg. Each time the user will be asked to continue or to quit. The user should be notified for the incorrect fruit code as shown in the sample input/output. You are required to print the bill in the format given in the sample input/output. Note that all letters are lower case. Fruit Item bananas grape mangoes oranges Unit Price 2.5 4.5 5.0 6.0 Code Sample input/output: nths any other hey to w.it.... t anoheut rer ny qust.... ress V to another uster prese any ether key to qwit.... any other hey te quit... hte andheraftityin pe eytos i.- hier'Priit in the anti table . tragait le, te qui, ss Y to another fruit or press any other key to qwit... other fruit or press any other key te quie.... o anothrtu prass any ether ey to quit.... " ter Pruit and Quaneity in Kc ter Fruit and Qantity in NG g 2 ter Frust and Quant ity in KG b s ..BILL ..sa AED 12.58 RED 38.00 RED 9.98 AED 5.00 RED otal Cine UATI etal (Ine UATI

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!