Initial commit
This commit is contained in:
36
06-variables/04-assignment/exercises/06/main.go
Normal file
36
06-variables/04-assignment/exercises/06/main.go
Normal file
@@ -0,0 +1,36 @@
|
||||
// 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
|
||||
// 1- Assign the correct values to the variables
|
||||
// to match to the EXPECTED OUTPUT below
|
||||
//
|
||||
// 2- Print the variables
|
||||
//
|
||||
// HINT
|
||||
// Use multiple Println calls to print each sentence.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// Air is good on Mars
|
||||
// It's true
|
||||
// It is 19.5 degrees
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
// DO NOT TOUCH THIS
|
||||
|
||||
// var (
|
||||
// planet string
|
||||
// isTrue bool
|
||||
// temp float64
|
||||
// )
|
||||
|
||||
// ADD YOUR CODE BELOW
|
||||
}
|
Reference in New Issue
Block a user