Question: Examine the following code outline. What is the first change you should make to include a function description? Line 1 : Greet the user. Line
Examine the following code outline. What is the first change you should make to include a function description?
Line : Greet the user.
Line : Allow the user to choose to enter a number pair or exit.
Line : If the user chooses to exit, terminate the program.
Line : If the user chooses to enter two numbers, ask the user to enter two numbers.
Line : Multiply the numbers.
Line : Display a message that includes the product.
Line : Allow the user to choose to enter another number pair or exit.
Line : If the user chooses to exit, terminate the program.
Line : If the user chooses to enter two more numbers, ask the user to enter two numbers.
Line : Multiply the numbers.
Line : Display a message that includes the product.
Line : Allow the user to choose to enter another number pair or exit.
continues in a similar manner
Group of answer choices
Move lines and to the top of the outline.
Place lines through within a repeating group loop
Rewrite lines and as a single line, If the user chooses to exit, terminate the program; else ask the user to enter two numbers.
Rewrite lines and as a single line, Apply multiplication and display behavior to the numbers.
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
