write a GUI based program that uses a WHILE loop to perform thefollowing tasks.
ID: 3615862 • Letter: W
Question
write a GUI based program that uses a WHILE loop to perform thefollowing tasks.prompt user to input two integers called FIRSTNUM and SECONDNUM(first num must be less than second num)
pass these 2 numbers to a method. THis method should outputall the ODD numbers between FIRSTNUM and SECONDNUM.
Also output the sum of all ODD numbers between FIRSTNUM andSECONDNUM
pass these 2 numbers to a second method. this method shouldoutput all the even numbers between FIRSTNUM and SECONDNUM
ALSO ouput the sum of all even number between FIRSTNUM andSECONDNUM
Explanation / Answer
so what are you asking?
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.