add: type conversion exercises

This commit is contained in:
Inanc Gumus
2018-10-27 16:17:28 +03:00
parent 19b9d85312
commit 66e6d7d01b
11 changed files with 23 additions and 5 deletions

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Convert and Fix
//
// Fix the code by using the conversion expression. // Fix the code by using the conversion expression.
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Convert and Fix #2
//
// Fix the code by using the conversion expression. // Fix the code by using the conversion expression.
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Convert and Fix #3
//
// Fix the code. // Fix the code.
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Convert and Fix #4
//
// Fix the code. // Fix the code.
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -10,7 +10,8 @@ package main
import "fmt" import "fmt"
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Convert and Fix #5
//
// Fix the code. // Fix the code.
// //
// HINTS // HINTS

View File

@ -0,0 +1,13 @@
# Type Conversion
Here are 5 exercises for you. You must find the errors and then fix them using the correct type conversions.
1. **[Convert and Fix #1](https://github.com/inancgumus/learngo/tree/master/06-variables/05-type-conversion/exercises/01-convert-and-fix)**
2. **[Convert and Fix #2](https://github.com/inancgumus/learngo/tree/master/06-variables/05-type-conversion/exercises/01-convert-and-fix-2)**
3. **[Convert and Fix #3](https://github.com/inancgumus/learngo/tree/master/06-variables/05-type-conversion/exercises/01-convert-and-fix-3)**
4. **[Convert and Fix #4](https://github.com/inancgumus/learngo/tree/master/06-variables/05-type-conversion/exercises/01-convert-and-fix-4)**
5. **[Convert and Fix #5](https://github.com/inancgumus/learngo/tree/master/06-variables/05-type-conversion/exercises/01-convert-and-fix-5)**