Question: You implement program in JAVA. Thanks
Part 1: Prompt the user for a series of numbers that may be either a binary number or a decimal number.
Part 2: Your program should have a loop that asks the user if they would like to input a binary number a decimal number or quit. If they select to input a binary #, your program will perform the steps in "part 1", for a decimal # perform the steps in "part 2", and if they select to exit you should gracefully quit and print a good bye message.