Use Eclipse, Write a JAVA program that does the following repeatedly: Asks the u
ID: 670382 • Letter: U
Question
Use Eclipse,
Write a JAVA program that does the following repeatedly:
Asks the user for three numbers.
If all three numbers are 0, the program should finish.
Otherwise,printthenumbersfromthefirstnumbertothesecondincrementing by the third. Repeat.
---
what i feel confused is the literal meaning of the question, especially the last sentence(printthenumbersfromthefirstnumbertothesecondincrementing by the third.).
what i think here is a should >b, c>0
so if a=15 b=25 c=2, what i should print is 15 17 19 21 23 25
so if a=15 b=26 c=2, what i should print is 15 17 19 21 23 25 26
i need to print the numbers from a to b incrementing by c?
am i right?
Explanation / Answer
Yes, you are doing correct. It should be done this way only!
Good job!
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.