Browse Source

corrected

pull/1622/head
zainabdnaya 2 years ago committed by José Rosendo
parent
commit
aad7414b31
  1. 6
      subjects/argsort/README.md

6
subjects/argsort/README.md

@ -3,8 +3,8 @@
### Instructions
Write a program that checks if an argument is sorted or not.
- Your Program should return `T` followed by a newline (`'\n'`) if an argument is sorted.
- Your Program should return `F` followed by a newline (`'\n'`) if an argument is not sorted.
- Your Program should return `T` followed by a newline (`'\n'`) if the argument is sorted.
- Your Program should return `F` followed by a newline (`'\n'`) if the argument is not sorted.
- If there is more than one argument return a newline (`'\n'`).
- If the argument is empty return a newline (`'\n'`).
@ -14,7 +14,6 @@ And it's output should be:
```console
$ go run .
$
$ go run . a | cat -e
T$
$ go run . " 5ABc" | cat -e
@ -22,7 +21,6 @@ T$
$ go run . "zA1" | cat -e
F$
$ go run . "01Talent" "student" | cat -e
$
$ go run . "Hello World" | cat -e
F$
$ go run . "a b c" | cat -e

Loading…
Cancel
Save