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 : 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 pshtm in the JSProj 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: Ctimes F The formula for converting Fahrenheit to Celsius is: Ftimes C Test your logic by encrypting an digit number, then decrypting. You should end up with your original digit number. OUTPUT should be similar to the following: COP Project Page: of Project Script
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
