I want to write a program that will prompt the user for a number, its base, and the base to which it should be converted. I want the program yo convert the number and display an appropriate comment with the resulting number. The number entered will be either an integer or real number.
The conversion process is from source base to decimal, then from decimal to the target base. For nonterminating conversions, I only need five places after the decimal.
The conversion process is from source base to decimal, then from decimal to the target base. For nonterminating conversions, I only need five places after the decimal.
Comment