Browse Source

docs(printandmiss) : correct Typo

pull/1513/head
zainab Dnaya 2 years ago committed by Michele
parent
commit
e7aff4dcd3
  1. 6
      subjects/printandmiss/README.md

6
subjects/printandmiss/README.md

@ -1,12 +1,12 @@
# printandmiss
## printandmiss
### Instructions
Write a function called `PrintAndMiss` that takes a string and an integer and prints a string containing the characters until reaching the integer, then skipping that same number of characters, and repeats until the end of the string.
- Prints the first half followed by newline `\n`.
- If the string is empty retun `Invalid Output`.
- If the integer is `0` ot it's negative return the string followed by a newline `\n`.
- If the string is empty retun `Invalid Output` followed by newline `\n`.
- If the integer is `0` or it's negative return the string followed by a newline `\n`.
### Expected function

Loading…
Cancel
Save