Question: Read this entire document before beginning your lab. For this lab you are required to fulfill all requirements exactly as described in this provided document,

Read this entire document before beginning your lab. For this lab you are required to fulfill all requirements exactly as described in this provided document, no less, no more. Problem: Write a Java program that will prompt for and read 3 integer values entered by the user. The program will check if the first number forms an even sum or an odd sum of the second and third number, or not. Following this calculation, you are to assemble a combination of at most 3 if, else if or else to fulfill the requirements described below. 1. If the first number entered is the sum of the second and the third number, and it is an even number, display the message: Seems like I have an even sum. 2. If the first number entered is the sum of the second and the third number, and it is an odd number, display the message: Seems like I have an odd sum. 3. If the 3 numbers entered, do not form any of the two sequences above, display the message: Seems I have no chance with these numbers! Based on the previous specifications your program should behave and look exactly as shown in the cases below. Your program should work for any integers entered by the user, not just the ones in the samples. Note that in the output symbol is a space and is a new line character. All words except for user input (in blue) must be a exactly as indicated in the sample outputs. Any extra spaces" and/or "new lines" will be graded a wrong answer. Program Sample outputs Enter-num1: 252 Enter.num2: 94 Enteronum3: 164 Seems like. I have an odd sum. Enteronum1: 01204 Enteronum2: 056 Enter num3: 644 Seems like I have an even sum. Enteronum1: 174 Enteronum2: 0104 Enteronum3: 0684 Seems I have no chance with these numbers! This program can be broken down into four major components; variable declaration, user input retrieval, processing the lengths and displaying outputs based on stated conditions. Note 1: You are to expect a perfect user who will always enter 3 integers greater than 0; that is, do not verify the validity of user input. Note 2: The use of libraries other than java.util.Scanner is prohibited. Your program must work for any integer values entered, not just the ones in the samples above. Note 3: Final thought, remember that your solution is space-sensitive and fulfill the above instructions carefully and precisely
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
