Question: a) Write an algorithm (pseudocode) for a program to ask the user to input an item, its individual price, and the amount. For example, Milk

a) Write an algorithm (pseudocode) for a program to ask the user to input an item, its individual price, and the amount. For example, Milk 2.5 3. You need to do this for 5 items.

Then calculate the total cost and the item with the highest price.

The program needs to print the total cost and the item with the highest price.

b) Create the Flowchart for your program.

Note: This is for a Java-based class.

The program needs to print the total cost, the item with the highest price and it's price.

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!