This project focuses on demonstrating your understanding of sequential, selective

This project focuses on demonstrating your understanding of sequential, selective

This project focuses on demonstrating your understanding 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 program requirements include:
Create a Java Application naming the Project PRJ2[Last Name][First Initial]. As an example, if your name was Xavier Smith, then the project would be named PRJ2SmithX.
Design and implement a Java program that will gather floating point numbers and determine the sum and average of the data entered.
Declare all necessary identifiers.
Inside a while loop:
Accept decimal numbers using a Dialog Input box.
Sum the decimal numbers as they are entered.
When the sum of the entered decimal numbers is above a total of 100 for the first time:
Display a message with a Message Dialog informing the user that the total number is 100.
In addition to the warning also display in the Message Dialog the actual total sum at that point.
Do not show this message again for any additional entries above 100.
Keep a counter for the number of times a new decimal number.
Have a prompt asking the user when to end entering decimal numbers.
Use a sentinel to end the loop in combination with a prompt.
After the loop, call a calculation method that will return the average from the sum and counter. [An example of the construction of a method with its “calling code” is listed at the end of the assignment.]
Call another method that will display the results of the processing in the program that will have three lines in a single Message Dialog box containing
The total number of entries.
The sum of all the entries.
The average of the number of entries.
Hint: A new line is displayed after each n in the println in the Message Dialog.
Once the assignment works correctly, create three screen shots of the results using different data and name the file PRJ2SmithXShot. Cut and paste various Message windows to a single document.
The completed project consists of the java file (PRJ2SmithX.java), the test data document (PRJ2TestSmithX.docx), and the screen shot file (PRJ2SmithXShot). Submit each of these files to your WebTycho Project 2 assignment area no later than the due date listed in the syllabus.
Additional requirements include:
Use JOptionPane.showInputDialog() methods for your user to input their data.
Use JOptionPane.showMessageDialog() methods to display your messages.
Include a comprehensive set of application test data that you used to test your program. Your test data can be shown in a table that includes prompt, input, expected output, actual output and pass/fail results from the test.

"96% of our customers have reported a 90% and above score. You might want to place an order with us."

Essay Writing Service
Affordable prices

You might be focused on looking for a cheap essay writing service instead of searching for the perfect combination of quality and affordable rates. You need to be aware that a cheap essay does not mean a good essay, as qualified authors estimate their knowledge realistically. At the same time, it is all about balance. We are proud to offer rates among the best on the market and believe every student must have access to effective writing assistance for a cost that he or she finds affordable.

Caring support 24/7

If you need a cheap paper writing service, note that we combine affordable rates with excellent customer support. Our experienced support managers professionally resolve issues that might appear during your collaboration with our service. Apply to them with questions about orders, rates, payments, and more. Contact our managers via our website or email.

Non-plagiarized papers

“Please, write my paper, making it 100% unique.” We understand how vital it is for students to be sure their paper is original and written from scratch. To us, the reputation of a reliable service that offers non-plagiarized texts is vital. We stop collaborating with authors who get caught in plagiarism to avoid confusion. Besides, our customers’ satisfaction rate says it all.

© 2022 Homeworkcrew.com provides writing and research services for limited use only. All the materials from our website should be used with proper references and in accordance with Terms & Conditions.

Scroll to Top