From 2f0c74084740a981809b5f41ea9aa85cbe6fadf5 Mon Sep 17 00:00:00 2001 From: zainab Dnaya Date: Tue, 2 Aug 2022 00:31:15 +0100 Subject: [PATCH] Update README.md --- subjects/printandmiss/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/subjects/printandmiss/README.md b/subjects/printandmiss/README.md index 236061953..7f62fa32b 100644 --- a/subjects/printandmiss/README.md +++ b/subjects/printandmiss/README.md @@ -1,4 +1,4 @@ -# PrintAndMiss +## PrintAndMiss ### Instructions @@ -17,7 +17,7 @@ func PrintAndMiss(arg string, loop int) string { ``` ### Usage -Here is a possible program to test your function: +Here is a possible program to test your function : ```go package main @@ -27,12 +27,12 @@ import ( ) func main() { - PrintAndMiss("123456789", 3)) - PrintAndMiss("abcdefghijklmnopqrstuvwyz", 3)) - PrintAndMiss("", 3)) - PrintAndMiss("hello you all ! ", 0)) - PrintAndMiss("what is your name?", 0)) - PrintAndMiss("go Exercise Print and Miss", -5)) + fmt.Print(PrintAndMiss("123456789", 3)) + fmt.Print(PrintAndMiss("abcdefghijklmnopqrstuvwyz", 3)) + fmt.Print(PrintAndMiss("", 3)) + fmt.Print(PrintAndMiss("hello you all ! ", 0)) + fmt.Print(PrintAndMiss("what is your name?", 0)) + fmt.Print(PrintAndMiss("go Exercise Print and Miss", -5)) } ```