Browse Source

Correct the Subject

pull/1621/head
zainab Dnaya 2 years ago committed by José Rosendo
parent
commit
0429578368
  1. 4
      subjects/reversesecondhalf/README.md

4
subjects/reversesecondhalf/README.md

@ -1,10 +1,10 @@
# ReverseSecondHalf
# reversesecondhalf
### Instructions
Write a function `ReverseSecondHalf()` that takes a string as an argument and prints the second half reversed. If the length of the string is odd, round it up.
- Prints the second half reversed followed by newline `\n`.
- if the string is empty, return `Invalid Output`.
- If the string is empty, return `Invalid Output`.
- If the string's length equals one, return it, followed by newline `\n`.
### Expected function

Loading…
Cancel
Save