Question: Write a program on C that has two functions- a) Write a function that takes temperature in degree celsius as input and converts it to
Write a program on C that has two functions-
a) Write a function that takes temperature in degree celsius as input and converts it to temperature in fahrenheit and returns the result.
temp_f = (9/5) * temp_c +32
b)Write a function that takes as input- a person's height in feet and inches and his weight in pounds to calculate his Body Mass Index.
1 feet = 12 inches
BMI = (weight / (height^2) )* 703 where weight is in pounds and height is in inches
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
