Use these functions to write a script that enables the user


Implement the following functions:

(a) Function Celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calcuation: C = 5.0 / 9.0 * (F-32);

(b) Function fahrenheit returns the Fahrenheit equvalent of a Celsius temperature, using the calculation: F = 9.0/5.0 * C +32;

(c) Use these functions to write a script that enables the user to enter eigher a Fahrenheit or a Celsius temperature and displays the Celsius or Fahrenheit equivalent. The HTML5 document should contain two buttons -- one to initiate the conversion from Fahrenheit to Celsius and one to initiate the conversion from Celsius to Fahrenheit.

 

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Use these functions to write a script that enables the user
Reference No:- TGS0645195

Expected delivery within 24 Hours