From a9e52165fa7af060b537325404e456aa3df7171c Mon Sep 17 00:00:00 2001 From: zainabdnaya Date: Mon, 20 Jun 2022 16:33:13 +0100 Subject: [PATCH] buzzinga --- subjects/buzzinga/README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/subjects/buzzinga/README.md b/subjects/buzzinga/README.md index f1c212c5..b5d85baf 100644 --- a/subjects/buzzinga/README.md +++ b/subjects/buzzinga/README.md @@ -3,10 +3,10 @@ ### Instructions Write a function named `BuzZinga()` that takes a number as an argument and prints the following: - If the number is divisible by 3, print Buz followed by newline. - If the number is divisible by 5, print Zinga followed by newline. - If the number is divisible by 3 and 5, print BuzZinga followed by newline. - If the number is not divisible by 3 or 5, print * followed by newline. + If the number is divisible by 3, print Buz followed by a newline. + If the number is divisible by 5, print Zinga followed by a newline. + If the number is divisible by 3 and 5, print BuzZinga followed by a newline. + If the number is not divisible by 3 or 5, print * followed by a newline. ### Expected function @@ -16,6 +16,9 @@ func BuzZinga(number int) { } ``` ### Usage + +Here is a possible program to test your function: + ```go package main @@ -47,4 +50,5 @@ Buz$ *$ *$ BuzZinga$ + ``` \ No newline at end of file