This is a simple C program that converts numbers between different numeral systems, including decimal, binary, octal, and hexadecimal. The program features a menu-driven interface, allowing users to select their desired conversion.
✅ Convert Decimal to Binary
✅ Convert Binary to Decimal
✅ Convert Decimal to Octal
✅ Convert Octal to Decimal
✅ Convert Hexadecimal to Binary
✅ Convert Binary to Hexadecimal
Compile:
gcc -o converter converter.c
./converter
When you run the program, you will be presented with a menu:
Menu 1.) Decimal To Binary 2.) Binary To Decimal 3.) Decimal To Octal 4.) Octal To Decimal 5.) Hexadecimal To Binary 6.) Binary To Hexadecimal 7.) Exit Enter Number:
You can enter a choice (1-7) to select a conversion type. The program will then prompt you to input a number for conversion and display the result.
No Current know issues