Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

write a java program that uses for loop to preform the following steps: Prompt the user to input two integers: firstnum and secondnum. (firstnum must...

write a java 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

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question