diff --git a/subjects/samecase/REDME.md b/subjects/samecase/REDME.md new file mode 100644 index 00000000..64f2ddd5 --- /dev/null +++ b/subjects/samecase/REDME.md @@ -0,0 +1,26 @@ +## Same-Case + +### Instructions + +Write a program that takes 2 arguments and returns: + +- If either of the characters is not a letter, return -1 +- If both characters are the same case, return 1 +- If both characters are letters, but not the same case, return 0 +- All outputs should be followed by a new-line character + +### Usage + + + +```console +$ go run . "p" "w"| cat -e +1$ +$ go run . "p" "Q" | cat -e +0$ +$go run . "p" "4" | cat -e +-1$ +$ go run . "P" "Q" "W" | cat -e +$ + +``` \ No newline at end of file