Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (20 points) a.) What kind of C language statement is the following? float computeDegreesF (float degreesc) b.) In the above line of code, what
1. (20 points) a.) What kind of C language statement is the following? float computeDegreesF (float degreesc) b.) In the above line of code, what does the first occurrence of float tell the compiler (and anyone who reads the code)? c.) In the above line of code, what do we call the part that appears between the parentheses? 2. (40 pts) Write a complete function (with appropriate comments) named computeDegrees which given (as an input argument) a floating point value degreesc representing Centigrade degrees, computes and returns the corresponding Fahrenheit degrees (also floating point). The correct conversion formula is degreesF = 1.8 * degreesC + 32.0 3. (40 pts) Write a short program (called a driver program) which calls computeDegreesF after prompting the user and then scanning in the value of degreesc. Your program should display the values of degreesF and degreesc before stopping. No comments needed
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