Write a complete Java program that repeatedly requests two numbers from the user, performs integer division with the two numbers and displays the result. For example, entering 22 and 7 would result in:
Please enter a number: 22
Please enter another number: 3
22 divided by 3 equals 7
Thank you, bye :)
Also, entering 22 and three first would result in:
Please enter a number: 22
Please enter another number: three
Sorry, there was an error parsing your input.
Please enter another number: 3
22 divided by 3 equals 7
Thank you, bye :)
Furthermore, entering 22 and 0 first would result in:
Please enter a number: 22
Please enter another number: 0
Arithmetic exception: / by zero
Please enter a number: 22
Please enter another number: 3
22 divided by 3 equals 7
Thank you, bye :)