Browse Source

docs(getAlpha): fixed subject

pull/1526/head
jrosendo 2 years ago committed by José Rosendo
parent
commit
5abc1e59a8
  1. 12
      subjects/get-alpha/README.md

12
subjects/get-alpha/README.md

@ -2,11 +2,11 @@
### Instructions ### 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 the integer above 127 or less than 0 return a newline `\n`.
- If it's not a number returns newline. - If it's not a number return a newline `\n`.
- If the number of arguments is above 1 return newline. - If the number of arguments is above 1 return a newline `\n`.
### Usage ### 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 . | cat -e
$ $
$ go run . "98" | cat -e $ go run . "98" | cat -e
a b
$ go run . "95" | cat -e $ go run . "95" | cat -e
; _
$ go run . "95" "102" | cat -e $ go run . "95" "102" | cat -e
$ $
``` ```
Loading…
Cancel
Save