Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

for javascript

Fahrenheit to Celsius

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. 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Focus On Geodatabases In ArcGIS Pro

Authors: David W. Allen

1st Edition

1589484452, 978-1589484450

More Books

Students also viewed these Databases questions

Question

Organize and support your main points

Answered: 1 week ago

Question

Move smoothly from point to point

Answered: 1 week ago

Question

Outlining Your Speech?

Answered: 1 week ago