Write a program which asks the user to enter the prices of 10 items. At the end, display the average price of the items that were entered

Exercises Using ‘while’ loops Write a program which asks the user to enter the prices of 10 items. At the end, display the average price of the items that were entered. I did random things trying to see if it could work (It didn’t work) I used Repl.it to code this My code: import java.util.Scanner;…

Details