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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started