Question: What values should be tested when the user is asked to enter an even number greater than zero or - 9 9 to quit? The

What values should be tested when the user is asked to enter an even number greater than zero or -99 to quit?
The program should test for even numbers, numbers greater than zero, and the sentinel value -99.
The program should test for odd numbers, numbers less than or equal to zero, and the sentinel value -99.
The program should test for even numbers, positive numbers, and the sentinel value 0.
The program should test for odd numbers, negative numbers, and the sentinel value 99.
 What values should be tested when the user is asked to

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!