using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
#region Introduction
//Hello and welcome to the FHLB Fuzz Buzz Coding Challenge.
//The point of this challenge is to test your ability to analyze existing code, troubleshoot errors, and assess your approach to programming.
//Please identify all of the errors in the below code.
#endregion
#region Instructions
//Create a collection with all numbers from 1 to 30
//For every number in the collection divisible by 3, output Fizz
//For every number in the collection divisible by 5, output Buzz
//For every number in the collection not divisible by neither 3 nor 5, output the number
#region CodingChallenge
var numbers = new List<int>(){1,2,3,4,5,6,7,8,9,10};
foreach(var number in numbers)
if(number / 3 == 1)
Console.Write("Fuzz");
}
if(number / 5 == 2)
Console.Write("Buzz");
else
Console.Write(number);