If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

TemperatureDemo

Cool! Thanks for your response.

The outcome is not exactly what the assignment calls for.

Recap of Assignment:
Then write a driver program that tests all the methods. Be sure to use each of the constructors, to include at least one true and one false case for each of the comparison methods, and to test at least the following temperature equalities: 0.0 degrees Celsius = 32.0 degrees Fahrenheit, -40.0 degrees Celsius= -40.0 degrees Fahrenheit, and 100.0 degrees Celsius = 212.0 degrees Fahrenheit.

Below is incomplete code for my driver program. I am not sure which methods to invoke to test the temperatures for equality, greater than or less than.
Can you help?

Calculator Class - Mathematical Equations???

I have modified this program from a simple "adding machine" and changed it to perform subtraction, multiplication & division however I have not studied any mathematical equations yet. Does anyone know how to make the Subtract, Multiply & Divide buttons work properly on this application?