<!DOCTYPE html>
<html>
<head>
<title>Unit 1 - Q5</title>
<script type="text/javascript">
var cel=10,fahr;
document.write("Celcius Temp. = "+cel+"<br>");
document.write("Celcius to Fahreneit conversion formula: ((x*1.8)+32)<br>");
fahr=(cel*1.8)+32;
document.write("Fahreneit Temp. = "+fahr);
</script>
</head>
</html>
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.