Question: please answer the question below using C programing 1) Write a C Program which converts Binary Number to Decimal and vice-versa. Your program must contain
1) Write a C Program which converts Binary Number to Decimal and vice-versa. Your program must contain two functions. You have to ask the choice for the user if he/she enter 1 you have to work with BinToDec function if the choice is 2 you have to work with DecToBin function. Both functions take the number in int main part and you have to print the answer in int main part.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
