Write a program to take a depth (in kilometers) inside the each as input data; c
ID: 3649042 • Letter: W
Question
Write a program to take a depth (in kilometers) inside the each as input data; compute and display the temperature at this depth in degrees Celsius and Fahrenheit. The relevant formulas are:Celsius = 10 x (depth) + 20 (Celsius temperature at depth in km)
Fahrenheit = 1.8 X (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.
Analysis
If your program includes functions, then the analysis section should consist of two sections: