high on Essays logo

Our Services

Get 15% Discount on your First Order

Exercise 3 & 4

see attach

Exercise 3

Assessment Description

The following exercise assesses your ability to do the following:

· Design a logical solution using control structures.

· Use relational and logical operators in a programming solution.

· Use selection structures in a programming solution.

· Use repetition structures in a programming solution.

1. Review the rubric for this assignment before beginning work. Be sure you are familiar with the criteria for successful completion. The rubric link can be found in the digital classroom under the assignment.

2. Write a Java program that implements the guessing game flowchart, or pseudocode, from Exercise 2. Use the logic in your flowchart as a guide.
Sample output:

Please enter a number between 1 and 10000: 5000
Your guess is to high, try again.

Please enter a number between 1 and 5000: 2500
Your guess is to high, try again.

Please enter a number between 1 and 2500: 1500
Your guess is to low, try again.

Please enter a number between 1500 and 2500: 2000
Your guess is to high, try again.

Please enter a number between 1500 and 2000: 1600
Your guess is to low, try again. 

1. Design a flowchart for a program that tabulates contributions collected by an organization. The organization wishes to accept contributions until a total of $10,000,000 is met. Once this total is hit, no further contributions should be accepted. The organization wants the program to read data from an input file (input.in). The following data should be written to a file called results.out: 
– The total number of contributions needed to meet the goal of 10 million dollars.
– The amount of the largest and smallest contribution accepted.
– The average contribution size.

2. Consider both the scenario where the input file does not contain enough contributions to meet the goal and the scenario where the input file contains more data than needed. The output file should match the formatting shown in the example.

3. Create a 3- to 5-minute video in which you explain your variable choices and any calculations in your programs. Execute (run) the program in your video. Address any challenges encountered and new information learned while completing the assignment. Do not include the flowchart as part of the video. Your video should not exceed 5 minutes.

Submit the following in the digital classroom as a single zip file, as directed by your instructor:

· Your flowchart, or pseudocode (.png file).

· All your project code and test files.

· A Loom video link; ensure that this video is private so only your instructor can see the video.

While APA style is not required for the body of this assignment, solid academic writing is expected, and documentation of sources should be presented using APA formatting guidelines, which can be found in the APA Style Guide, located in the Student Success Center.

This assignment uses a rubric. Please review the rubric prior to beginning the assignment to become familiar with the expectations for successful completion.

You are not required to submit this assignment to LopesWrite.

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit
Reviews

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

Operational Excellence Week 2 Assignment information

Operational Excellence Week 2 Assignment information Systems for Business and Beyond Questions · Chapter 2 – study questions 1-10, Exercise 2      Information Technology and Organizational Learning Questions · Chapter 2 – Note why the IT organizational structure is an important concept to understand.  Also, note the role of

Pg. 01 Project I Project Deadline: Sunday 12/5/2024 @ 23:59 [Total

Pg. 01 Project I Project Deadline: Sunday 12/5/2024 @ 23:59 [Total Mark is 14] Introduction to Database IT244 College of Computing and Informatics Project Instructions · You can work on this project as a group (minimum 2 and maximum 3 students). Each group member must submit the project individually with