Write a program stars that uses two nested for loops to


rompt the user to input two positive integers: firstNum and secondNum (firstNum must be smaller than secondNum). Output all the even numbers between firstNum and secondNum inclusive.

Output the sum of all the even numbers between firstNum and secondNum inclusive. Output all the odd numbers between firstNum and secondNum inclusive.

Output the sum of all the odd numbers between firstNum and secondNum inclusive. Part B.

Write a program Stars that uses two nested for loops to output the pattern of stars shown below (note that there are no spaces in between stars).

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program stars that uses two nested for loops to
Reference No:- TGS01528487

Expected delivery within 24 Hours