A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Fizz Buzz in Beef page! Here, you'll find the source code for this program as well as a description of how the program works.
using System;
namespace FizzBuzz;
class Program
{
public static int Main(String[] args)
{
for (int i in 1...100)
{
String line = scope String();
if ((i % 3) == 0)
{
line.Append("Fizz");
}
if ((i % 5) == 0)
{
line.Append("Buzz");
}
if (line.Length == 0)
{
i.ToString(line);
}
Console.WriteLine(line);
}
return 0;
}
}
Fizz Buzz in Beef was written by:
If you see anything you'd like to change or update, please consider contributing.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.