Question: Mod 5 Assignment For this assignment, you will create a temperature conversion application. Create function celsius that returns the Celsius equivalent of a Fahrenheit temperature
Mod 5 Assignment
For this assignment, you will create a temperature conversion application.
Create function celsius that returns the Celsius equivalent of a Fahrenheit temperature using the formula
C=5.0 / 9.0 * (F-32);
Create function fahrenheit that returns the Fahrenheit equivalent of the Celsius temperature using the formula
F= 9.0 / 5.0 * C + 32;
You will also have a start function so when a user clicks a button the corresponding function runs.
Additionally, two functions convertToCelsius and convertToFahrenheit, that retrieves the data from the input field,
converts the value to a float, calls the celsius or fahrenheit function, and prints the result to the web page.
The web page will have an input box of type number with a label Temperature Conversion or something similar. Two
buttons one named Celsus and the other Fahrenheit.
A user will enter a temperature and then click one of the buttons. The computer then performs the calculation and
displays the result on the web page
Insert a horizontal rule at the bottom of the page and links to your other web pages.

Temperature Conversion Temperature to convert: 50 Celisus Fahrenheit 50 converted to Farhrenheit is 122 Temperature Conversion Temperature to convert: 50 Celisus Fahrenheit 50 converted to Farhrenheit is 122
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
