Question: Write a program in JAVA that utilizes a while-loop to read a set of five floating-point values from user input. Include code to prevent an
Write a program in JAVA that utilizes a while-loop to read a set of five floating-point values from user input. Include code to prevent an endless loop. Ask the user to enter the values, then print the following data:
- Total
- Average
- Maximum
- Minimum
- Interest on total at 20%.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
