Page 1 of 1

Task 3: Arrays (30 marks) Write and execute a JAVA program that will allow the user to input the prices of 7 items into

Posted: Thu Jun 02, 2022 8:04 am
by answerhappygod
Task 3 Arrays 30 Marks Write And Execute A Java Program That Will Allow The User To Input The Prices Of 7 Items Into 1
Task 3 Arrays 30 Marks Write And Execute A Java Program That Will Allow The User To Input The Prices Of 7 Items Into 1 (54.03 KiB) Viewed 17 times
Solution in detail and written by ID
21S21166
Task 3: Arrays (30 marks) Write and execute a JAVA program that will allow the user to input the prices of 7 items into an array using for loop. The program should determine the maximum price using while loop and then display the same. Sample output: Enter price:12 Enter price:34 Enter price:11 Enter price: 2 Enter price:34 Enter price:56 Enter price: 78 maximum price: 78.0 Press any key to continue..._ Note: student id should be appended to variables names compulsorily to avoid similarity