From 5abc1e59a875ef44405f894ed0c628244a49da8b Mon Sep 17 00:00:00 2001 From: jrosendo Date: Mon, 7 Nov 2022 16:56:04 +0000 Subject: [PATCH] docs(getAlpha): fixed subject --- subjects/get-alpha/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/subjects/get-alpha/README.md b/subjects/get-alpha/README.md index 48679ca29..3d05e8eb1 100644 --- a/subjects/get-alpha/README.md +++ b/subjects/get-alpha/README.md @@ -2,11 +2,11 @@ ### Instructions -Write a program that takes an `int` [0-127] as an argument and returns the corresponding ASCII table character, followed by newline. +Write a program that takes an `int` between `[0-127]` as an argument and returns the corresponding ASCII table character, followed by a newline `\n`. -- If the integer above 127 or less than 0 returns newline. -- If it's not a number returns newline. -- If the number of arguments is above 1 return newline. +- If the integer above 127 or less than 0 return a newline `\n`. +- If it's not a number return a newline `\n`. +- If the number of arguments is above 1 return a newline `\n`. ### Usage @@ -15,9 +15,9 @@ Write a program that takes an `int` [0-127] as an argument and returns the corr $ go run . | cat -e $ $ go run . "98" | cat -e -a +b $ go run . "95" | cat -e -; +_ $ go run . "95" "102" | cat -e $ ``` \ No newline at end of file