forked from root/public
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
350 B
16 lines
350 B
5 years ago
|
## itoa
|
||
|
|
||
|
### Instructions
|
||
|
|
||
5 years ago
|
- 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`.
|
||
5 years ago
|
|
||
5 years ago
|
- For this exercise the handling of the signs + or - **does have** to be taken into account.
|
||
5 years ago
|
|
||
|
## Expected function
|
||
|
|
||
|
```go
|
||
|
func Itoa(n int) string {
|
||
|
|
||
|
}
|
||
|
```
|