How could i convert One number system to another system?

this is the output:

Choose a number system below:

Press A if you want Decimal to convert to another number system.
Press B if you want Binary to convert to another number system.
Press C if you want Octal to convert to another number system.
Press D if you want Hex to convert to another number system.

//when you pressed A this will be the output.

Enter Decimal:
The decimal equiv in binary is ____.
The decimal equiv in octal is ____.
The decimal equiv in hex is ____.

//teach me how to do it... please!

God bless! :)

Recommended Answers

All 2 Replies

code please.

Why not read this?

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.