Write a C++ program that will prompt a user for a numeric base (decimal, binary, or hexadecimal),
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a C++ program that will prompt a user for a numeric base (decimal, binary, or hexadecimal), ask for the value, and then convert to the other two bases. Here is a sample run of the program (bold is user input):
We can assume that the input will always be valid, so you don't need to concern yourself with validating input.
This program should only work with whole, positive number values.
Related Book For
Posted Date: