add: loop for statement exercises
This commit is contained in:
13
13-loops/exercises/01-basics.md
Normal file
13
13-loops/exercises/01-basics.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Loops
|
||||||
|
|
||||||
|
1. **[Sum the Numbers](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/01-sum-the-numbers)**
|
||||||
|
|
||||||
|
2. **[Sum the Numbers: Verbose Edition](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/02-sum-the-numbers-verbose)**
|
||||||
|
|
||||||
|
3. **[Sum up to N](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/03-sum-up-to-n)**
|
||||||
|
|
||||||
|
4. **[Only Evens](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/04-only-evens)**
|
||||||
|
|
||||||
|
5. **[Break Up](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/05-break-up)**
|
||||||
|
|
||||||
|
6. **[Infinite Kill](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/06-infinite-kill)**
|
@ -8,7 +8,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// EXERCISE: Sum the numbers
|
// EXERCISE: Sum the Numbers
|
||||||
//
|
//
|
||||||
// 1. By using a loop, sum the numbers between 1 and 10.
|
// 1. By using a loop, sum the numbers between 1 and 10.
|
||||||
// 2. Print the sum.
|
// 2. Print the sum.
|
||||||
|
5
13-loops/exercises/02-multiplication-table.md
Normal file
5
13-loops/exercises/02-multiplication-table.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Multiplication Table
|
||||||
|
|
||||||
|
1. **[Dynamic Table](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/07-multiplication-table-exercises/01-dynamic-table)**
|
||||||
|
|
||||||
|
2. **[Math Table](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/07-multiplication-table-exercises/02-math-tables)**
|
@ -8,7 +8,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// EXERCISE: Sum the numbers verbose edition
|
// EXERCISE: Sum the Numbers: Verbose Edition
|
||||||
//
|
//
|
||||||
// By using a loop, sum the numbers between 1 and 10.
|
// By using a loop, sum the numbers between 1 and 10.
|
||||||
//
|
//
|
||||||
|
13
13-loops/exercises/03-lucky-number.md
Normal file
13
13-loops/exercises/03-lucky-number.md
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Lucky Number
|
||||||
|
|
||||||
|
1. **[First Turn Winner](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/01-first-turn-winner)**
|
||||||
|
|
||||||
|
2. **[Random Messages](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/02-random-messages)**
|
||||||
|
|
||||||
|
3. **[Double Guesses](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/03-double-guesses)**
|
||||||
|
|
||||||
|
4. **[Verbose Mode](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/04-verbose-mode)**
|
||||||
|
|
||||||
|
5. **[Enough Picks](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/05-enough-picks)**
|
||||||
|
|
||||||
|
6. **[Dynamic Difficulty](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/08-lucky-number-exercises/06-dynamic-difficulty)**
|
@ -8,7 +8,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// EXERCISE: Only evens
|
// EXERCISE: Only Evens
|
||||||
//
|
//
|
||||||
// 1. Extend the "Sum up to N" exercise
|
// 1. Extend the "Sum up to N" exercise
|
||||||
// 2. Sum only the even numbers
|
// 2. Sum only the even numbers
|
||||||
|
5
13-loops/exercises/04-word-finder.md
Normal file
5
13-loops/exercises/04-word-finder.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Word Finder
|
||||||
|
|
||||||
|
1. **[Case Insensitive Search](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/09-word-finder-exercises/01-case-insensitive)**
|
||||||
|
|
||||||
|
2. **[Path Searcher](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/09-word-finder-exercises/02-path-searcher)**
|
@ -8,7 +8,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// EXERCISE: Break up
|
// EXERCISE: Break Up
|
||||||
//
|
//
|
||||||
// 1. Extend the "Only Evens" exercise
|
// 1. Extend the "Only Evens" exercise
|
||||||
// 2. This time, use an infinite loop.
|
// 2. This time, use an infinite loop.
|
||||||
|
3
13-loops/exercises/05-crunch-the-primes.md
Normal file
3
13-loops/exercises/05-crunch-the-primes.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# Crunch the Primes
|
||||||
|
|
||||||
|
1. **[Crunch the primes](https://github.com/inancgumus/learngo/tree/master/13-loops/exercises/10-crunch-the-primes)**
|
@ -8,7 +8,7 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
// ---------------------------------------------------------
|
// ---------------------------------------------------------
|
||||||
// EXERCISE: Case Insentive Search
|
// EXERCISE: Case Insensitive Search
|
||||||
//
|
//
|
||||||
// Allow for case-insensitive searching
|
// Allow for case-insensitive searching
|
||||||
//
|
//
|
Reference in New Issue
Block a user