Answer to Question #6676 in AJAX | JavaScript | HTML | PHP for Chris

Question #6676
Javascript problem

Ask the user for a Fahrenheit temperature, and then convert it to Celsius. Use
parseFloat().
1
Expert's answer
2012-02-23T10:08:39-0500
FahrenheitToCelsius function FahrenheitToCelsius(){ n = document.getElementById('txtPow').value;
alert((n - 32)*5/9);
}

Enter the Fahrenheit temperature:

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS