From 43c9b48f154997886eaca3d6f0c7ea7fcfbe5e58 Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Fri, 26 Apr 2019 16:38:27 +0100 Subject: [PATCH] remaning and reformating of instructions --- subjects/itoa.en.md | 15 +++++++++++++++ subjects/itoa.md | 14 -------------- 2 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 subjects/itoa.en.md delete mode 100644 subjects/itoa.md diff --git a/subjects/itoa.en.md b/subjects/itoa.en.md new file mode 100644 index 000000000..f613beb43 --- /dev/null +++ b/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 { + +} +``` diff --git a/subjects/itoa.md b/subjects/itoa.md deleted file mode 100644 index 9295201dc..000000000 --- a/subjects/itoa.md +++ /dev/null @@ -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 { - -} -``` \ No newline at end of file