Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
FizzBuzz Solution
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { for (int i = 1; i <= 100; i++){ if (i % (5*3) == 0) { Console.WriteLine("FizzBuzz"); } else if (i % 3 == 0) { Console.WriteLine("Fizz"); } else if (i % 5 == 0) { Console.WriteLine("Buzz"); } else { Console.WriteLine(i); } } } } }
run
|
edit
|
history
|
help
0
hello
Tarkov Time
Конструктор классов + static
dsrlkgjrekt
How to find second largest integer in an array using only one loop?
VB6 DateSerial to C#
IntNull
SMS recipient filter testing
Simple Parallel.For example
List<Action>()