(3) FOR LOOP – Even and Odd numbers

Construct a program that asks the user for a START NUMBER and an END number. Use a FOR loop to display all the ODD numbers between the two numbers.
Use a second loop to display all of the EVEN numbers between the two numbers.

Scroll to Top