Question: 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

 1) Write a C Program which converts Binary Number to Decimal

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 2) Write a program to define a structure called a car. The member elements of the car structure are Modellike BMW. Ford..etc), production year(1999-2020...), and lastly price. Create an array of 10 cars. Get input for all 10 cars from the user. Then the program display complete information(Model Year, Price) of those cars only which are above 250000 in price or production date bigger than 2000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!