7. Write a JavaScript to convert Celsius to Fahrenheit.
<!-- --------------------------------------------------------------------------------------------------------------------------------- HTTP://WWW.GTUMCA.CO.CC ---share your college materials on --- [email protected] JOIN US ON FACEBOOK: with more than 1000 GTU MCA FRIENDS TWITTER @MCAGTU ---------------------------------------------------------------------------------------------------------------------------------------> <html> <head> <script language="javascript"> function convert(frm) { var cel; cel=document.frm.cel.value;
if(parseFloat(cel)!=cel) alert("Enter only numeric value..."); else document.frm.far.value=(cel-32)*5/9;