QUOTE(William_Wilson @ 26 Jun, 2007 - 08:24 PM)

please do not make a new thread for the same code and the same set of errors.
all of your errors are due to the same error in the . operator:
CODE
object.temps.format(getDepthInKilometers())
should be:
CODE
temps.format(object.getDepthInKilometers())
Thank you! Now I have another problem. My output is not coming out the way it's supposed to.
The numbers I'm supposed to run the program on are
6.3, 100.0, 8.5, 1.0, and 555.5.I'm getting zeros where I should be getting different values.
//The output Im getting is below
---------------------------------------------------
Name: Jake Reibert
Project#6
Due Date: 06/26/2007
Today's Date: 6/26/2007
The Time is Now: 8:43:14
---------------------------------------------------
Reading No. 1
----------------
Enter Depth In Miles: 6.3
Depth In Kilometers = 0.0
Celsius Temp At This Depth = 0.0
Equivalent Fahrenheit Temp = 0.0
------------------------------------------------------
Reading No. 2
----------------
Enter Depth In Miles: 100.0
Depth In Kilometers = 0.0
Celsius Temp At This Depth = 0.0
Equivalent Fahrenheit Temp = 0.0
------------------------------------------------------
Reading No. 3
----------------
Enter Depth In Miles: 8.5
Depth In Kilometers = 0.0
Celsius Temp At This Depth = 0.0
Equivalent Fahrenheit Temp = 0.0
------------------------------------------------------
Reading No. 4
----------------
Enter Depth In Miles: 1.0
Depth In Kilometers = 0.0
Celsius Temp At This Depth = 0.0
Equivalent Fahrenheit Temp = 0.0
------------------------------------------------------
Reading No. 5
----------------
Enter Depth In Miles: 555.5
Depth In Kilometers = 0.0
Celsius Temp At This Depth = 0.0
Equivalent Fahrenheit Temp = 0.0
------------------------------------------------------
----jGRASP: operation complete.
//WHY AM I GETTING ZEROS FOR ALL THESE THINGS???