Question: You are asked to develop a cash register for a fruit shop that sells oranges and apples. The program will first ask the name of
You are asked to develop a cash register for a fruit shop that sells oranges and apples. The program will first ask the name of the customer and the number of oranges and apples they would like to buy. And then print a summary of what they bought along with the bill as illustrated in the session below:
What is your Name?
Harry
Oranges are $ each. How many Oranges?
Apples are $ each. How many Apples?
Harry purchased Oranges and Apples.
The total bill is dollars
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
