diff --git a/subjects/printmemory/README.md b/subjects/printmemory/README.md index a0e5799a4..3ea0d5b61 100644 --- a/subjects/printmemory/README.md +++ b/subjects/printmemory/README.md @@ -4,9 +4,9 @@ Write a function that takes `(arr [10]int)`, and displays the memory as in the example. -After displaying the memory the function must display all the graphic characters. The non printable characters must be replaced by a dot. +After displaying the memory the function must display all the ASCII graphic characters. The non printable characters must be replaced by a dot. -A graphic character is any character intended to be written, printed, or otherwise displayed in a form that can be read by humans. In other words, it is any encoded character that is associated with one or more glyphs. +The ASCII graphic characters are any characters intended to be written, printed, or otherwise displayed in a form that can be read by humans, present on the ASCII encoding. ### Expected function @@ -32,9 +32,9 @@ And its output : ```console $ go run . | cat -e -6800 0000 6500 0000 6c00 0000 6c00 0000 $ -6f00 0000 1000 0000 1500 0000 2a00 0000 $ -0000 0000 0000 0000 $ +68 65 6c 6c$ +6f 10 15 2a$ +00 00$ hello..*..$ $ ```