# Answer to Question #21162 in C++ for huzaifa muaz

Question #21162

Write a program that uses do- while loops to perform the following steps:

a. Prompt the user to input two integers: firstNum and secondNum

(firstNum must be less than secondNum).

b. Output all odd numbers between firstNum and secondNum.

c. Output the sum of all even numbers between firstNum and

secondNum.

d. Output the numbers and their squares between 1 and 10.

e. Output the sum of the square of the odd numbers between firstNum

and secondNum.

f. Output all uppercase letters

a. Prompt the user to input two integers: firstNum and secondNum

(firstNum must be less than secondNum).

b. Output all odd numbers between firstNum and secondNum.

c. Output the sum of all even numbers between firstNum and

secondNum.

d. Output the numbers and their squares between 1 and 10.

e. Output the sum of the square of the odd numbers between firstNum

and secondNum.

f. Output all uppercase letters

Expert's answer

#### Not answered

Need a fast expert's response?

Submit orderand get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

## Comments

## Leave a comment