Files
learngo/06-variables/06-project-greeter/exercises/04-greet-more-people/main.go
2018-11-13 23:01:58 +03:00

36 lines
875 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: Greet More People
//
// RESTRICTIONS
// 1. Be sure to match to the expected output below
// 2. Store the length of the arguments in a variable
// 3. Store the all the arguments in variables as well
//
// 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.
}