Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that uses while loops toperform the following steps: a. Prompt t

ID: 3614426 • Letter: W

Question

   Write a program that uses while loops toperform the following steps: a. Prompt the user to input two integers: firstNum andsecondNum (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 andsecondNum d. Output the numbers and their squares between 1 and 10 e.Output the sum of the square of the odd numbers betweenfirstNum and secondNum.    Write a program that uses while loops toperform the following steps: a. Prompt the user to input two integers: firstNum andsecondNum (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 andsecondNum d. Output the numbers and their squares between 1 and 10 e.Output the sum of the square of the odd numbers betweenfirstNum and secondNum.

Explanation / Answer

please rate - thanks #include using namespace std; int main() {int i,sum=0,sqsum=0, firstnum=1,secondnum=0; char ch; while(!(firstnumsecondnum;     } i=firstnum; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote