need help with an assignment

need a program that will meet this criteria


Write a program that does the following:

Displays the message “Give me a number (X)”

Asks for the base of the number entered (i.e. base 2 = Binary, base 8 = Octal, base 10 = Decimal, base 16 = Hexadecimal)

Confirms the number entered and its base

Asks for the base required for the output number

Displays the result in the correct base
Last edited on
not going to help don't comment please
Actually, I tried to help you. However, I understand.
Take a look at this link:

http://www.cplusplus.com/forum/articles/40071/#msg218019

This should help you.

Make sure you report me on this link too:

http://www.cplusplus.com/forum/general/188298/

Last edited on
@Sam786 Explaining to you how to best use this forum so that you get the help you need, is helping you.

In any case, this isn't a homework site. We aren't going to do your work for you just because you tell us to. If you show us what you've done so far, and explain any specific problems you need help with, then we'll do our best to help.

If you just want someone to do your work for you, you'd be better off moving your post to the Jobs forum.
Topic archived. No new replies allowed.