Created
February 4, 2017 21:38
-
-
Save anonymous/b7772708b2c0fe6cb6671a7e685faba8 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/jagijin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
function convertToF(celsius) { | |
var fahrenheit; | |
fahrenheit = celsius * 9/5 + 32; | |
//fahrenheit = Math.floor(fahrenheit); | |
return fahrenheit; | |
} | |
convertToF(30); | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">function convertToF(celsius) { | |
var fahrenheit; | |
fahrenheit = celsius * 9/5 + 32; | |
//fahrenheit = Math.floor(fahrenheit); | |
return fahrenheit; | |
} | |
convertToF(30); | |
</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function convertToF(celsius) { | |
var fahrenheit; | |
fahrenheit = celsius * 9/5 + 32; | |
//fahrenheit = Math.floor(fahrenheit); | |
return fahrenheit; | |
} | |
convertToF(30); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment