Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Problem: on_off
//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) { Console.WriteLine("Printing the Numbers !"); for(int i= 1; i <= 100; i++) { if (i % 3 == 0) { if (i % 5 == 0) Console.WriteLine("OnOff"); else Console.WriteLine("On"); } else if (i % 5 == 0) Console.WriteLine("Off"); else Console.WriteLine(i); } } } }
run
|
edit
|
history
|
help
0
ok
fuck this
ATM
Types
patient portal
UUEncode, UUDecode, XXEncode or XXDecode a string.
Simple Overriding
quick sort final
linqs
animal