add: type conversion exercises
This commit is contained in:
parent
19b9d85312
commit
66e6d7d01b
@ -8,7 +8,8 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE
|
||||
// EXERCISE: Convert and Fix
|
||||
//
|
||||
// Fix the code by using the conversion expression.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
@ -8,7 +8,8 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE
|
||||
// EXERCISE: Convert and Fix #2
|
||||
//
|
||||
// Fix the code by using the conversion expression.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
@ -8,7 +8,8 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE
|
||||
// EXERCISE: Convert and Fix #3
|
||||
//
|
||||
// Fix the code.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
@ -8,7 +8,8 @@
|
||||
package main
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE
|
||||
// EXERCISE: Convert and Fix #4
|
||||
//
|
||||
// Fix the code.
|
||||
//
|
||||
// EXPECTED OUTPUT
|
@ -10,7 +10,8 @@ package main
|
||||
import "fmt"
|
||||
|
||||
// ---------------------------------------------------------
|
||||
// EXERCISE
|
||||
// EXERCISE: Convert and Fix #5
|
||||
//
|
||||
// Fix the code.
|
||||
//
|
||||
// HINTS
|
13
06-variables/05-type-conversion/exercises/README.md
Normal file
13
06-variables/05-type-conversion/exercises/README.md
Normal 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)**
|
Loading…
x
Reference in New Issue
Block a user