add: if statement exercises
This commit is contained in:
22
11-if/exercises/08-simplify-leap-year/main.go
Normal file
22
11-if/exercises/08-simplify-leap-year/main.go
Normal file
@@ -0,0 +1,22 @@
|
||||
// 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: Simplify the Leap Year
|
||||
//
|
||||
// 1. Look at the solution of "the previous exercise".
|
||||
//
|
||||
// 2. And simplify the code (especially the if statements!).
|
||||
//
|
||||
// EXPECTED OUTPUT
|
||||
// It's the same as the previous exercise.
|
||||
// ---------------------------------------------------------
|
||||
|
||||
func main() {
|
||||
}
|
Reference in New Issue
Block a user