the questions is the following:

Write a program that prints a table of the binary, octal and hexadecimal equivalents of the decimal numbers in a particular range

the program should be somthing similar to the follow:

1. Convert a Decimal Number to Binary Number
2. Convert a Decimal Number to Octal Number
3. Convert a Decimal Number to Hexadecimal Number
4. Print the Comparison Table of Number Systems in a Range
5. Exit

Please enter your Choice (1-5):

Note: You should make use of simple formulas and loops to solve the problems. No use of stream manipulators like dec, hex or oct are allowed, and no default functions of any kind should be used.

does anyone who knows how to do it?

i am a new starter. thx for everyone who gives help.

Recommended Answers

All 3 Replies

Welcome aboard....however, you'll need to:
1. Post your question in the correct forum.
2. Indicate which language you need help with.
3. Post what you've tried, so that it can be reviwed.
4. Read the FAQ & Forum rules to get acquainted with the Forum.

Welcome! No one will help you unless you post some code on what you have already done.

Welcome aboard....however, you'll need to:
2. Indicate which language you need help with.

He did in the title of this thread.

I need a new pair of eyes...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.