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

Words: 241
Pages: 1
Subject: Uncategorized

Exercise 1:
Write a program that uses while loops to perform the following steps:
Prompt the user to input two integers: firstNum and secondNum
(firstNum must be less than secondNum).
Output all odd numbers between firstNum and secondNum.
Separate each number with a space
Output the sum of all even numbers between firstNum and secondNum.
Output the numbers and their squares between 1 and 10.
Output the sum of the square of the odd numbers between firstNum and secondNum.
Output all uppercase letters.
Separate each letter with a space
Exercise 2:
Write a program that uses for loops to perform the following steps:
Prompt the user to input two integers: firstNum and secondNum
(firstNum must be less than secondNum).
Output all odd numbers between firstNum and secondNum.
Output the sum of all even numbers between firstNum and secondNum.
Output the numbers and their squares between 1 and 10.
Separate the numbers using any amount of spaces.
Output the sum of the square of the odd numbers between firstNum and secondNum.
Output all uppercase letters.

Let Us write for you! We offer custom paper writing services Order Now.

REVIEWS


Criminology Order #: 564575

“ This is exactly what I needed . Thank you so much.”

Joanna David.


Communications and Media Order #: 564566
"Great job, completed quicker than expected. Thank you very much!"

Peggy Smith.

Art Order #: 563708
Thanks a million to the great team.

Harrison James.


"Very efficient definitely recommend this site for help getting your assignments to help"

Hannah Seven