From cb249fb62fcc62de7f0b2ccab14d28573ca59ba5 Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Fri, 22 Jul 2022 16:56:40 +0100 Subject: [PATCH] corrected --- subjects/argsort/README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/subjects/argsort/README.md b/subjects/argsort/README.md index 94c3993d4..ab456c954 100644 --- a/subjects/argsort/README.md +++ b/subjects/argsort/README.md @@ -2,7 +2,8 @@ ### Instructions -Write a program that checks if an argument is sorted or not. +Write a program that checks if an argument is sorted or not,the comparesion should be by index of ascii. + - 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 the number of arguments is not 2 do nothing. @@ -26,4 +27,8 @@ $ go run . "a b c" | cat -e F$ $ go run . " abc" | cat -e T$ +$ go run . " s" +T$ +$ go run . "s " +F$ ```