Write a program to take a depth (in kilometers) inside the earth as input data; compute and display the temperature at this depth in degrees Celsius and Fahrenheit. The relevant formulas are
Celsius = 10 ×(depth) + 20 (Celsius temperature at depth in km)
Fahrenheit = 1.8 ×(Celsius) + 32
Include two functions in your program. Function celsiusAtDepth should compute and return the Celsius temperature at a depth measured in kilometers. Function toFahrenheit should convert a Celsius temperature to Fahrenheit.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.