Design and implement a java program to determine the sum

Assignment Help JAVA Programming
Reference no: EM13784483

Project 2

This project focuses on the use of of sequential, selective and repetitive programming statements, methods, and modular programming. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters. The project requirements include:

1. Design and implement a Java program that will gather a group of 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:

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

2. Use JOptionPane.showMessageDialog() methods to display your messages.

3. Include a comprehensive set of application test data that you used to test your program. Similar to Project 1, your test data can be shown in a table that includes input data, expected output, actual output and pass/fail results from the test.

Submission requirements:

Your deliverables include a Java file and a Word document. The Java file should be named Yournamep2.java. Your word document should include your test table and be named Yournamep2.doc. Your completed assignment should be submitted to your Project 2 assignment area no later than the due date listed in the syllabus.

Reference no: EM13784483

Questions Cloud

Calculate the total cost of ordering and carring inventories : The following inventory data have been established for the Stamps Company: 1. Orders must be placed in mulitples of 400 units. 2. Annual sales are 720,000 units 3. The purchase price Per unit from suppliers is $14.  4. Carrring cost is 30 percent of ..
Employees would be hired to absorb the extra workload : The United Mutual and Accident Insurance Company has a large pool of clerical employees who process insurance application forms on networked computers. When the company hires a new clerical employee, it takes that person about 48 minutes to process a..
Role of the u.s. court system in influencing society : Discuss the general role of the U.S. Court System in influencing society. Give your opinion on whether or not you believe that mass media influences court decisions
Benefit air cargo and air passenger baggage service : In the last several years, air cargo facilities have benefited from the revolutions in standard warehouse design. Examples include the air cargo facilities of express shippers and the new Hong Kong International airport facility. How can RFID-enabled..
Design and implement a java program to determine the sum : Design and implement a Java program that will gather a group of 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 aver..
The biopsychosocial or diathesis-stress models : Evaluate three peer reviewed research studies. Conceptualize the disorder using the biopsychosocial or diathesis-stress models.
Vision and mission statements issues : How might leaders and managers view and use vision and mission statements differently?
Differences between a void contract and a voidable contract : What are the differences between a void contract and a voidable contract? Provide examples. Which party or parties to a voidable contract have the right to disaffirm the contract
The environment and corporate social responsibility : Describe the relationship between packaging, the environment, corporate social responsibility, and logistics. you need to add the link or website of your source.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd