Question: Write a program that prompts the user for: 1) The price per lb for apples 2) The price per lb for grapes 3) The price

 Write a program that prompts the user for: 1) The price

Write a program that prompts the user for: 1) The price per lb for apples 2) The price per lb for grapes 3) The price per lb for bananas Then - 4) Ask the user how many lbs of each fruit they are buying 5) Display the total cost for the purchase, an 6) The name of the fruit that costs the most

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!