Question: Write a program that will take two integer numbers and will display the following output on the screen: The first row contains an Odd number

Write a program that will take two integer numbers and will display the following output on the screen: The first row contains an Odd number between X and Y using FOR LOOP The second row contains all Even numbers between X and Y in reverse order using WHILE LOOP The third row contains all numbers divisible by n, entered by the user using DO-WHILE LOOP For Instance Enter Two numbers: 1020 201816141210 101520
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
