Question: Write a program that uses three arrays Mango, Orange and Banana to store the number of fruits purchased by customer. The program inputs the number

Write a program that uses three arrays Mango, Orange and Banana to store the number of fruits purchased by customer. The program inputs the number of mangoes, oranges and bananas to be purchased by customer and stores them in corresponding arrays. The program finally displays the total bill of each customer according to the following prices:

Rs. 20 per mango [C3, CLO-3, PLO-3] Rs. 10 per orange Rs. 5 per banana The output should appear as follows:

Customer No Mangoes Oranges Bananas Total Bill --------------------------------------------------------------------------------------------------------------------- 1 5 10 12 Rs. 260

c++

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!