Instructions Write a program that uses while loops to perform the following steps: 1. Prompt the user to input two integ
Posted: Mon May 02, 2022 11:48 am
Instructions Write a program that uses while loops to perform the following steps: 1. Prompt the user to input two integers: firstNum and secondNum o (firstNum must be less than secondNum ). 2. Output all odd numbers between firstNum and secondNum. o Separate each number with a space 3. Output the sum of all even numbers between firstNum and secondNum 4. Output the numbers and their squares between 1 and 10. 5. Output the sum of the square of the odd numbers between firstNum and secondNum.
6. Output all uppercase letters. Separate each letter with a o space
6. Output all uppercase letters. Separate each letter with a o space