0

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.

3
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by zandiago
0

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.

0

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.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.