Write a Java program that converts a positive integer from one base to another. The program needs
Question:
Write a Java program that converts a positive integer from one base to another. The program needs to work for based 2 through 25 using case-insensitive alphabetic letters a-o for digits beyond 9. Values of the numbers to be converted should not exceed the equivalent of 2^63-1 and the number should be verified to contain valid digits for the given base. You may not use any existing class or function to do the conversion.
Program must have comment block at the top of the main method describing the program purpose, input, and output.
Name the class containing the main method NumericConversion.java
SAMPLE INPUT/OUTPUT:
Enter base of the number to be converted (0 to quit): 5
Enter the number to be converted: 1234
Enter the target base: 10
1234 base 5 equals 194 base 10
Java An Introduction To Problem Solving And Programming
ISBN: 9780134462035
8th Edition
Authors: Walter Savitch