Question: C++ Question 3 Write a program which will read an integer value for a base, then read a positive integer n written to that base
Question 3 Write a program which will read an integer value for a base, then read a positive integer n written to that base and print its value. For example, in base 8 and input 76, your program should output 62. In base 2 and input 1101, it should output 13. Be sure to check that the base wl be bigger than 1 and less than or equal to 10. If n is invalid display an appropriate message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
