Question: Lab Description In this lab you will create a Java file, MyJavaLab05 java and complete the outlined objectives below. Make sure you read the instructions
Lab Description In this lab you will create a Java file, MyJavaLab05 java and complete the outlined objectives below. Make sure you read the instructions closely, and fulfill each requirement listed in each objective. Note: orange text is what you print, blue text is the text the user typed in. Objective 1 Print your name and student ID to the screen, in the format: YourLastName, YourFirstName, Your StudentD Objective 2 In the main method, call a method named startProgram Objective3 Create a method named startProgram that welcomes a user to working with numbers, and asks a user to enter two numbers, and then call a method menuOptions, passing the two numbers Expected output Welcome to Working with Numbers Please enter two numbers Number 1 36.0 Number 2 4.5 Objective 4 Create a method named menuOptions that has two decimal parameters, prompts the user with a menu using the parameters passed into the method: Please select a menu option below Calculate 36.0 4. Calculate 36.0-4.5 3. Calculate 36.04.5 Calculate 36.014.5 5. Calculate 36.0 45 Based on the option selected, call the corresponding method to calculate the result Option Method name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
