Browse Source

remaning and reformating of instructions

pull/78/head
Christopher Fremond 5 years ago committed by Frenchris
parent
commit
43c9b48f15
  1. 15
      subjects/itoa.en.md
  2. 14
      subjects/itoa.md

15
subjects/itoa.en.md

@ -0,0 +1,15 @@
## itoa
### Instructions
- Write a function that simulates the behaviour of the `Itoa` function in Go. `Itoa` transforms a number represented as an`int` in a number represented as a `string`.
- For this exercise the handling of the signs + or - **does have** to be taken into account.
## Expected function
```go
func Itoa(n int) string {
}
```

14
subjects/itoa.md

@ -1,14 +0,0 @@
## itoa
### Instructions
Write a function that takes an int and converts it to a string.
The function returns the result in a char array that you must allocate.
## Expected function
```go
func Itoa(n int) int {
}
```
Loading…
Cancel
Save