Initial commit
This commit is contained in:
34
06-variables/06-project-greeter/exercises/04/main.go
Normal file
34
06-variables/06-project-greeter/exercises/04/main.go
Normal file
@@ -0,0 +1,34 @@
|
||||
// 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
|
||||
// Greet more people
|
||||
//
|
||||
// RESTRICTIONS
|
||||
// Be sure to match to the expected output below
|
||||
//
|
||||
// INPUT
|
||||
// bilbo balbo bungo
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// There are 3 people!
|
||||
// Hello great bilbo !
|
||||
// Hello great balbo !
|
||||
// Hello great bungo !
|
||||
// Nice to meet you all.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
// TYPE YOUR CODE HERE
|
||||
|
||||
// BONUS #1:
|
||||
// Observe the error if you pass less then 3 arguments.
|
||||
// Search on the web how to solve that.
|
||||
}
|
Reference in New Issue
Block a user