Question: In a file called lab 1 . c in your csci 1 1 2 _ spring 2 0 2 4 / labs / lab 1
In a file called labc in your cscispringlabslab directory, write a program that estimates the temperature in a freezer in degrees Celsius given the elapsed time hours since a power failure. Assume this temperature $T$ is given by
where $$ is the time since the power failure. Your program should prompt the user to enter how long it has been since the start of the power failure in whole hours and minutes. Note that you will need to convert the elapsed time into hours. For example, if the user entered hours minutes you would need to convert this to hours.
Requirements
You must:
include the stdio library
use a constant macro preprocessor directive
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
