Browse Source

docs(printandmis) : fixe some typo

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

8
subjects/printandmiss/README.md

@ -1,8 +1,8 @@
## PrintAndMiss # printandmiss
### Instructions ### 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. 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`. - Prints the first half followed by newline `\n`.
- If the string is empty retun `Invalid Output`. - If the string is empty retun `Invalid Output`.
@ -22,9 +22,7 @@ Here is a possible program to test your function :
```go ```go
package main package main
import ( import "fmt"
"fmt"
)
func main() { func main() {
fmt.Print(PrintAndMiss("123456789", 3)) fmt.Print(PrintAndMiss("123456789", 3))

Loading…
Cancel
Save