Prompt the user to input two integers


Write a program that uses for loop to preform the following steps:

A. Prompt the user to input two integers: firstnum and secondnum. (firstnum must be less than 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 firstnum and secondnum inclusive. 
E. Output the sum of the squares of all the odd numbers between firstnum and secondnum inclusive
f. output all the uppercase letters 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Prompt the user to input two integers
Reference No:- TGS0118121

Expected delivery within 24 Hours