1. Design and implement a Java program that will gather a floating point numbers and determine the sum and average of the data entered. The program should use separate methods for inputting the data, calculating the sum, calculating the average, and displaying the results. A sentinel value should be used to indicate the user has completed entering their numbers. The output should display a message that includes the count of the numbers entered, the sum of the numbers and the average of the numbers. If the sum of the numbers is greater than 100, a warning message should be displayed indicating “values have exceeded a sum 100”.

2. Additional requirements include:

Use JOptionPane.showInputDialog() methods for your user to input their data

Use JOptionPane.showMessageDialog() methods to display your messages. Name the program Yournameproject2.java