Answered step by step
Verified Expert Solution
Question
1 Approved Answer
for javascript Fahrenheit to Celsius var temp = prompt(Enter Fahrenheit temperature) var fahrenheit = temp; temp = parseInt(temp) temp-=32 temp*=(5/9) alert(Fahrenheit temperature is +fahrenheit+ Celsium
for javascript
previous 2-1 code
Extra 3-1 Enhance the Fahrenheit to Celsius application In this exercise, you'll add data validation to the application you created in extra exercise 2-1. You'll also let the user do multiple conversions before ending the application. This is the dialog box for an invalid entry: JavaScript Alert You entered 234. Entry must range from -100 to+212 Prevent this page from creating additional dialogs OK 1. If you didn't already do extra exercise 2-1, do it now 2. Add data validation to the application so it won't do the conversion until the user enters a Fahrenheit temperature between -100 and 212. If the entry is invalid, a dialog box like the one above should be displayed. Add a loop to the code so the user can do a series of calculations without restarting the application. To end the application, the user must enter 999 as the temperature. 3Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started