Question: Do 1 from part A and 1 from part B (Your choice): Write a separate program for each of your two choices. (10 points each

 Do 1 from part A and 1 from part B (Your
choice): Write a separate program for each of your two choices. (10

Do 1 from part A and 1 from part B (Your choice): Write a separate program for each of your two choices. (10 points each - points are listed below). See my sample on the last page. It contains all the pieces and parts that are required here! Include, in the top block comment, the section for Input Processing, and Output First line of the top block comment: Project 1, Part A (or B). The name of the project A short description of your project The section for Input, Processing, and Output: Input: What is it that you will need for the program? Processing: What is it that you will compute? Output: What is it that you will display? @name (name) @version (date) Break down the program into smaller parts. Include line comments within your main method for the main parts of your program. Include blank lines within your code for readability! You must include this for any credit: Below the last closing brace of your program, include a block comment that includes a sample output of your program. Project 1: Must compile and produce results and include sample Part A: (10 Part B: (10 execution(s) below the last closing curly brace for any points! (Each pts) pts) of these are "UP TO" # points) First point free for each! Comments at top: 1st line includes Project number and program name (.5) SHORT Program description in a sentence or two (.5) Input, Processing, and Output Descriptions ( up to 1) @name (name) AND @version (date) (up to.5) Breaks program down: Includes a comment for each of these sections of code WITH blank lines between each part for readability! (up to 1) Includes a declaration section for all variables declarations (5) Includes an input section for prompts and reads (-5) Incudes a separate computation section (.5) Includes a separate output section (.5) Program includes description to the user with name! (5) Program computes correct results: (1) Output matches sample output format (including blank line and dashed lines!): (1) 1. For both parts: Pick an option. 2. Start with the "top comment", especially the Input, Processing, and Output to determine your algorithm / plan of attack BEFORE you start your program! 3. THEN, start with your comments! They can be your "skeleton". 4. THEN, write the program, filling in the missing code between the comments. Remember to leave blank lines between each section for readability. 4. Double-check your program to see if it meets all of the requirements 6. Upload the java file to Canvas. Part A, Option 1: (Game: Addition quiz) Have the computer randomly generate 3 numbers less than 100 (zero or greater). Have the user answer the question and check for greater than zero and for rightness. (Use conditional statements for this program) Here are three sample runs: Sample run 1: YourFirstName's Addition Program! I will think of 3 numbers for you to add up! Add the values: 27 + 5 + 51 Enter your guess: -3 All answers are positive whole numbers! Play again. Sample run 2: YourFirstName's Addition Program! I will think of 3 numbers for you to add up! Add the values: 97 +29 + 54 Enter your guess: 12 you are incorrect. 97 + 29 + 54 - 180 Sample run 3: YourFirstName's Addition Program! I will think of 3 numbers for you to add up! Add the values: 40 +65 +32 Enter your guess: 137 You are correct. 40 +65 + 32 - 137

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!