Question: Write a program that uses For loops to perform the following steps: a. Prompt the user to input two integers: firstNum and second Num.

Write a program that uses For loops to perform the following steps: a. Prompt the user to input two integers: firstNum and second Num. (firstNum must be less than second Num.) b. Output all the odd numbers between firstNum and second Num inclusive. c. Output the sum of all the even numbers between firstNum and second Num inclusive.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
