banner

Thursday, October 20, 2016

PE10 : Temperature Conversion Using APPLET

a)Write a temperature conversion applet that converts from Fahrenheit to Celsius . The Fahrenheit temperature should be entered from the... thumbnail 1 summary
a)Write a temperature conversion applet that converts from Fahrenheit to Celsius. The Fahrenheit temperature should be entered from the keyboard (via a TextField). A Label should be used to display the converted temperature. Use the following formula for the conversion:
Celcius = ((5/9)*(Ferenheit‐32)).

more challenge ..

b.) Enhance the temperature conversion applet by adding the Kelvin temperature scale. The applet should also allow the user to make conversions between any two scales. Use the following formula for the conversion between Kelvin and Celsius : 
Kelvin = Celcius + 273.15




AN IDEAL OUTPUT SHOULD LOOK LIKE THIS


Note : You may use Java SWING objects as well to accomplish the task. 


No comments

Post a Comment