Created
February 6, 2019 07:41
-
-
Save Adron/ab76c8e797d56be908c3469ad8151d0f to your computer and use it in GitHub Desktop.
Using the Temperature Package
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
tempconv "github.com/Adron/awesomeProject/tempconv" | |
) | |
func main() { | |
fmt.Println("Temperatures are hard to figure off the top of one's mind!") | |
boilingF := tempconv.CelsiusToFahrenheit(BoilingC) | |
fmt.Printf("%v\n", boilingF) | |
fmt.Printf("%s\n", boilingF) | |
fmt.Println(boilingF) | |
fmt.Printf("%g\n", boilingF) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment