[Solved]Write C Program Called Changeofbasecpp Converts Integer Number One Base Another Program As Q37185865
Write a C++ program called changeOfBase.cppthat converts an integer number from one base to another. Theprogram should ask the user for the current base, the number inthat current base, and the new base to be converted to. Valid basesare between 2 and 36. Values of digits from 10 – 35 will berepresented by characters A – Z. You are guaranteed that all valueswill be less than or equal to 2^(32) – 1.
Hints 1. Don’t forget that you can add/subtract to from chars. 1.For example ‘a’ + 1 is ‘b’ and ‘B’ + 2 is ‘D’
Examples
1. 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
2. Please enter the number’s base: 6 Please enter the number:405
Please enter the new base: 19
405 base 6 is 7G base 19
3. Please enter the number’s base: 24
Please enter the number: GIG
Please enter the new base: 10
GIG base 24 is 9664 base 10
I can get most of it down, I’m having trouble with converting asin the last example. IE GIG to base 10. Any help would be great
Expert Answer
Answer to Write a C++ program called changeOfBase.cpp that converts an integer number from one base to another. The program should… . . .
OR

