}
double celsiusAtDepth;
{
double celsiusAtDepth=10*depth+20
return celsiusAtDepth;
}
after I compiled my code, I have an error saying:
Type: Posts; User: howru
}
double celsiusAtDepth;
{
double celsiusAtDepth=10*depth+20
return celsiusAtDepth;
}
after I compiled my code, I have an error saying:
Ok, I have to write a function called distance that will calculate the distance between 2 points in an x-y coordinate system. Each point will be specified by 2 double values. Also, this function will...
I have to 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. So basically,...