Draw a flowchart that to perform the following steps:
a. The user must input two integers: firstNum and secondNum.
b. Output all the odd numbers between firstNum and secondNum inclusive.
c. Output the sum of all the even numbers between firstNum and secondNum inclusive.
d. Output all the numbers and their squares between 1 and 10.
e. Output the sum of the squares of all the odd numbers between firstNum and secondNum inclusive.
The answer to your question is provided in the image:
Comments
Leave a comment