Question: I need JavaScript and pseudocode for the following: Implement the following functions: a) Function celsius returns the Celsius equivalent of a Fahrenheit temperature, using the
I need JavaScript and pseudocode for the following:
Implement the following functions: a) Function celsius returns the Celsius equivalent of a Fahrenheit temperature, using the calculation C = 5.0 / 9.0 * ( F - 32 ); b) Function Fahrenheit returns the Fahrenheit equivalent 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 either a Fahrenheit or a Celsius temperature and displays the Celsius or Fahrenheit equivalent.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
