Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started