akosiraff

SumAverageWithoutArray Java

Jul 22nd, 2013
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/sumaveragewithoutarray-java/
  3. 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”.
  4. 2. Additional requirements include:
  5. 1. Use JOptionPane.showInputDialog() methods for your user to input their data
  6. 2. Use JOptionPane.showMessageDialog() methods to display your messages.
  7. 3. Include a comprehensive set of application test data that you used to test your program.
  8.  
  9. Download: http://solutionzip.com/downloads/sumaveragewithoutarray-java/
Advertisement
Add Comment
Please, Sign In to add comment