i want to write a program that will prompt the user
for the type of conversion he wants: “binary to decimal” or “decimal to binary”
-If he chooses “binary to decimal”, the
program should prompt the user for 8 bits
(values only 0 or 1) and then display the number in decimal
-else prompt the user for any whole number between 0 and 255 and display the 8 bits
of that number in binary representation
it should use the
#include <stdio.h>
#include <conio.h>