0
Write a program to take a depth (in kilometers) inside the earth as input data.
i dont even understand what i need to do here. all i know is im suppose to write it with #stdio.h please give me some insight. 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 degrees Fahrenheit. The relevant formulas are Celsius = 10 (depth) + 20 (Celsius temperature at depth in km) Fahrenheit = 1.8 (Celsius) + 32
1 Antwort
+ 1
Take a look at cin and cout. Then use variables for Celsius, Fahrenheit, and depth to do math that is given to you.