Hello, I am having a hard time with
java syntax. I can do this on paper and in a flow chart, but I'm having a hard time grasping the java language. Basically this is what I need to do:
Write a program that prompts a user for a list of 5 prices. The program is then to compute and display the sum of all prices, the average of the prices, and all prices that are higher than the calculated average. Additionally, I need to break my code out by using the following methods: sumArray, aveArray, and highPrices. Can anyone please give me a hand with this? It would be greatly apprciated!
Heres what I have:
Needless to say, this does not compile, let alone let me enter much of anything.