Question: Write a Java Program to accept a given number of item names and prices and then output them in the reverse order in which they
Write a Java Program to accept a given number of item names and prices and then output them in the reverse order in which they were input. In addition, output the average price if one of the items is name Peas (not case sensitive) otherwise output "no average output". (The first user input will be the number of items to process.) This code has to be build in netbean
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
