Write a C++ program called changeOfBase.cpp that converts an integer number from one base to another. The program should ask the user for the current base, the number in that current base, and the new base to be converted to. Valid bases are between 2 and 36. Values of digits from 10 – 35 will be represented by characters A – Z. You are guaranteed that all values will be less than or equal to 2³² - 1.

Hints
Don't forget that you can add/subtract to from chars.
For example 'a' + 1 is 'b' and 'B' + 2 is 'D'
Examples
- Please enter the number's base: 10
- Please enter the number: 25
- Please enter the new base: 2
- 25 base 10 is 11001 base 2

Respuesta :

ACCESS MORE