add solutions to first exercises

This commit is contained in:
Cody Loyd
2017-11-04 23:03:44 -05:00
parent f0bf584e59
commit c14e4628ec
4 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
var ftoc = function() {
var ftoc = function(f) {
return Math.round((f - 32) * (5/9) * 10) / 10
}
var ctof = function() {
var ctof = function(c) {
return Math.round(((c * 9/5) + 32) * 10) / 10
}
module.exports = {