Problem Statement
Prompt the user for an integer value in decimal and convert the value to it's octal (base 8) equivalent value. Display the result. The program should prompt the user for another value to convert and terminate if the user enters 0 (zero). A sample session might look like this:
Enter an integer or 0 to quit: 29
The value in octal is 35
Enter an integer or 0 to quit: 105
The value in octal is 151
Enter an integer or 0 to quit: 0
Notes:
Implement using a call to a method to perform the conversion
Use Java or a language of your choice.
You may implement using either a loop or recursion.