Question: Required Prompt the user to enter two numbers. Create an array where: num [ 1 ] will be the first that is entered from the
Required
Prompt the user to enter two numbers.
Create an array where:
num will be the first that is entered from the keyboard.
num will be the second number that is entered from the keyboard.
num will be the sum of num and num
num will be the product of num and num
num will be equal to num
Read the first number from the keyboard.
Read the second number from the keyboard.
Create num this will be the sum of num and num
Create num this will be the multiplication of num and num
Display the sum of the two numbers.
Display the multiplication of the two numbers.
Extra Credit
Write an If statement that uses Branching Hint: You can use Elself If the first number entered is then send
the user back above the prompt to enter the first number. If the second number is then send the user to the
same location for the first number.
Display the sum of the two numbers.
Display the multiplication of the two numbers.
Set arr equal to arr
Write a While loop that will take arr print it out and divide it by so long as it is greater than
What to turn in
Please submit your Lab as a Text Entry.
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
