Question: Write: a while loop that asks the user for an even number. If they enter an even number, print Good Job! to the screen. Otherwise,
Write: a while loop that asks the user for an even number. If they enter an even number, print
"Good Job!" to the screen. Otherwise, print the number they gave you, followed by is not
even, try again" and ask for a new number. For example, the following is an interaction with this
program:
Please enter an even number:
is not even, try again:
is not even, try again:
Good Job!
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
