1

Fizz Buzz Problem

Fizz Buzz problem is a famous interview question, Lets discuss this problem.

Problem Statement :

For 1-100 numbers :

if the number is divisible by 5 print – “Buzz”

if the number is divisible by 3 print – “Fizz”

if the number is divisible by both print – “Fizz Buzz”

I have a created a video tutorial :

Here is the code shown in the video :


Warning: count(): Parameter must be an array or an object that implements Countable in /home/algotu5/public_html/wp-includes/class-wp-comment-query.php on line 405