Looking for a little help on writing a temperature conversion program that converts from Fahrenheit to Celcius. I should be able to enter the Fahrenheit temperature from the keyboard (assuming I use a Text Field). Then using a TextField it should display the converted temperature. Of course using the following formula for conversion:
What kind of help are you looking for? There's not really much to it. Take the input and insert it into the forumla and then output the results. If you are going to create a GUI for this then do that last. First write a class for conversion containng say two methods called computeFahrenheit and another called computeCelsius and pass the appropriate parameters to them and return the results. Once you have that done then create the GUI and apply your conversion class to it.
This sounds like a homework assignment so of course we are not going to write any code for you. You need to do that.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!
Thanks guys for the help, it's not really homework because I'm not a programming student, I'm a networking student and our professor didn't think anyone could come up with the code. I do know a little java because I took a java class a few semesters ago, but just needed a little shove in the right direction because this stuff is greek to me. Thanks everyone.