26 lines
580 B
Go
26 lines
580 B
Go
// For more tutorials: https://blog.learngoprogramming.com
|
|
//
|
|
// Copyright © 2018 Inanc Gumus
|
|
// Learn Go Programming Course
|
|
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
//
|
|
|
|
package main
|
|
|
|
// ---------------------------------------------------------
|
|
// EXERCISE: Print the Temperature
|
|
//
|
|
// Print the current temperature in your area using Printf
|
|
//
|
|
// NOTE
|
|
// Do not use %v verb
|
|
// Output "shouldn't" be like 29.500000
|
|
//
|
|
// EXPECTED OUTPUT
|
|
// Temperature is 29.5 degrees.
|
|
// ---------------------------------------------------------
|
|
|
|
func main() {
|
|
// ?
|
|
}
|