Saloni6111 / DSA_Problems

Solve given DSA problems here for hactoberfest.
MIT License
32 stars 108 forks source link

Fizz Buzz #42

Closed Saloni6111 closed 1 month ago

Saloni6111 commented 1 month ago

Description: Write a program that outputs numbers from 1 to n. But for multiples of three, output "Fizz" instead of the number, and for multiples of five, output "Buzz". For numbers which are multiples of both three and five, output "FizzBuzz".

Example: Input: n = 15 Output: ["1", "2", "Fizz", "4", "Buzz", "Fizz", "7", "8", "Fizz", "Buzz", "11", "Fizz", "13", "14", "FizzBuzz"]

Tanishka534 commented 1 month ago

Please Assign me this issue

SalmanDeveloperz commented 1 month ago

Hi @Saloni6111 I'd love to work on this issue. Could you please assign it to me? I'll get started right away!

Saloni6111 commented 1 month ago

Please Assign me this issue

Sure @Tanishka534 , it's already assigned to you. Please go ahead!