Browse Source

Corrected

1136-samecase
zainabdnaya 2 years ago
parent
commit
7fe5f0851c
  1. 6
      subjects/samecase/REDME.md

6
subjects/samecase/REDME.md

@ -3,9 +3,9 @@
### Instructions ### Instructions
Write a program that takes 2 characters as arguments and does the following: Write a program that takes 2 characters as arguments and does the following:
If either of the characters is not a letter, return -1. - If either of the characters is not a letter, return -1.
If both characters are the same case, return 1. - If both characters are the same case, return 1.
If both characters are letters but not the same case, return 0. - If both characters are letters but not the same case, return 0.
- A newline character should follow all outputs. - A newline character should follow all outputs.
- If the argument is more than one character or if it's empty, return a newline. - If the argument is more than one character or if it's empty, return a newline.

Loading…
Cancel
Save