35 lines
764 B
Go
35 lines
764 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
|
||
|
// 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.
|
||
|
}
|