-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestwelcome to hacktoberfestwelcome to hacktoberfesthelp wantedExtra attention is neededExtra attention is needed
Description
Description
Kata-FizzBuzz
Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz “.
Given 1 parameters (int)
When input is 20
Expect output
1
2
Fizz
4
Buzz
Fizz
7
8
Fizz
Buzz
11
Fizz
13
14
FizzBuzz
16
17
Fizz
19
Buzz
... etc up to 100
Additional context
Add any other context, links references or screenshots about the feature request here.
Important Checklist
- I have written unit test first, make it red(fail first).
- I have then written logic code, make it green(success)
- I have tried to refactor my code, make it understandable(document my code)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestwelcome to hacktoberfestwelcome to hacktoberfesthelp wantedExtra attention is neededExtra attention is needed