Question: Write a program that asks the user to enter a number an even number between 10 and 70. Then print on the screen the divisors
Write a program that asks the user to enter a number an even number between 10 and 70. Then print on the screen the divisors of this number. The program must check if the number is even and between 10 and 70 before finding the divisors. Sample runi: Enter an even number between 10 and 70: 7 The number is below than the given range. Sample run2: Enter an even number between 10 and 70: 82 The number is above than the given range, Sample run 3: Enter an even number between 10 and 70:15 The number is odd. Sample rund: Enter an even number between 10 and 70:18
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
