Question: Pg. 02 Question Two Question Two 2 Marks ) Learning Outcome(s): Write a complete Java program that do the following: 1. Asks the user to

Pg. 02 Question Two Question Two 2 Marks ) Learning Outcome(s): Write a complete Java program that do the following: 1. Asks the user to enter the last two digits of his/her student ID. Explain the basic principles of programming, concept of language, and universal constructs of programming languages. 2. Stores the entered digits in adequate variable. 3. Finds and prints the square root of the inputted number using a method from the class Math. 4. Finds and prints the cube of the inputted number using a method from the class Math. The class name should be your Name. Note: Your answer should have the code as text as well as the screenshot of the program output (using your own student ID) as a part of your answer. Otherwise, zero marks will be awarded. Typical runs of the program All Terminal Window Options Enter the last two numbers of your student ID: 26 the square root of the given number 1s: 5.0990195135927845 the cube of the given number is: 17576.0 A Terminal Windowp2 Options Enter the last two numbers of your student ID: 78 the square root of the given number is: 8.831760866327848 the cube of the given number is: 474552.0
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
