Question: 35 and 36 together as one java program. preferable with flotchart, but i can make that. 33. Write a Java program to accept three item
35 and 36 together as one java program. preferable with flotchart, but i can make that.

33. Write a Java program to accept three item names and prices, and output them. Also, output the average price if one of the items is named Peas (not case sensitive) otherwise output: "no them. In addition, output the average price if one of the items is named Peas (not case sensi- Write a Java program to accept a given number of item names and prices and then output average output". 34. Write a Java program to accept an unlimited number of item names and prices, and output tive) otherwise output: "no average output". The inputs will be terminated by a sentinel price of -1. (Do not include the -1 in the average.) them in the reverse order in which they were input. In addition, output the average price if onc of the items is named Peas (not case sensitive) otherwise output: "no average output Add a static method to the program described in one of the two previous exercises that 37. Add a method to the program described in the previous excrcise that accepts and returns a (The first user input will be the number of it ems to process.) that outputs "Welcome To St. Joseph's College" before the items and prices are output. The method main should invoke this method. single item name that is input by the user. The prompt presented to the user should be po to the method as an argument
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
