add: printf exercises
This commit is contained in:
24
07-printf/exercises/01-print-your-age/main.go
Normal file
24
07-printf/exercises/01-print-your-age/main.go
Normal file
@ -0,0 +1,24 @@
|
||||
// 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: Print Your Age
|
||||
//
|
||||
// Print your age using Prinft
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// My age is 30 years old.
|
||||
//
|
||||
// NOTE
|
||||
// You should change 30 to your age, of course.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
// ?
|
||||
}
|
Reference in New Issue
Block a user