mirror of https://github.com/01-edu/public.git
2 changed files with 15 additions and 14 deletions
@ -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 { |
||||
|
||||
} |
||||
``` |
@ -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…
Reference in new issue