25 lines
605 B
Go
25 lines
605 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
|
||
|
// 1. Get your name and lastname from the command-line
|
||
|
// 2. Print them using Printf
|
||
|
//
|
||
|
// EXAMPLE INPUT
|
||
|
// Inanc Gumus
|
||
|
//
|
||
|
// EXPECTED OUTPUT
|
||
|
// Your name is Inanc and your lastname is Gumus.
|
||
|
// ---------------------------------------------------------
|
||
|
|
||
|
func main() {
|
||
|
// BONUS: Use a variable for the format specifier
|
||
|
}
|