JAVA Write a program that does the following repeatedly a As
JAVA:
Write a program that does the following repeatedly:
 a. Asks the user for three numbers.
 b. If all three numbers are 0, the program should finish.
 c. Otherwise, print the numbers from the first number to the second
incrementing by the third. d. Repeat.
Solution
//JAVA PROGRAM
//sample output
enter three numbers: 5 6 7
the first number is 5 the second number is 6 the third number is 7
enter three numbers: 0 0 7
the first number is 0 the second number is 0 the third number is 7
enter three numbers: 0 0 0
(the program will finish)

