Initial commit
This commit is contained in:
33
06-variables/02-declarations/exercises/05/main.go
Normal file
33
06-variables/02-declarations/exercises/05/main.go
Normal file
@@ -0,0 +1,33 @@
|
||||
// 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- Declare the variables below:
|
||||
// 3speed
|
||||
// !speed
|
||||
// spe?ed
|
||||
// var
|
||||
// func
|
||||
// package
|
||||
//
|
||||
// 2- Observe the error messages
|
||||
//
|
||||
// NOTE
|
||||
// The types of the variables are not important.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
// var ? int
|
||||
// var ? int
|
||||
// var ? int
|
||||
// var ? int
|
||||
// var ? int
|
||||
// var ? int
|
||||
}
|
Reference in New Issue
Block a user