Question: JavaScript that converts Celsius to Fahrenheit and Fahrenheit to Celsius SCRIPT 5 : Develop a JavaScript that converts Celsius to Fahrenheit and Fahrenheit to Celsius.

JavaScript that converts Celsius to Fahrenheit and Fahrenheit to Celsius SCRIPT 5: Develop a JavaScript that converts Celsius to Fahrenheit and Fahrenheit to Celsius. Create two functions named "Celsius" and "Fahrenheit" and allow the user to enter values in an HTML form. The user enters a temperature in a textbox, then clicks either the "Celsius" button or the "Fahrenheit" button and the input is converted appropriately. Save the script as p3s5.htm in the JSProj3 folder on your workstation. LOGIC: - Save the function in SCRIPT tags in the HEAD section of your webpage - The formula for converting Celsius to Fahrenheit is: (0^C\times 9/5)+32=32^F - The formula for converting Fahrenheit to Celsius is: (32^F-32)\times 5/9=0^C - Test your logic by encrypting an 8 digit number, then decrypting. You should end up with your original 8 digit number. OUTPUT should be similar to the following: COP 2830 Project 3 Page: 6 of 11 Project 3 Script 5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!