mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
354 B
16 lines
354 B
5 years ago
|
## 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 {
|
||
|
|
||
|
}
|
||
|
```
|