Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
eden
//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("please insert a number"); int num=int.Parse(Console.ReadLine()); int sod=0; for(int i=0;i<=num;i++) {if(i%2==0) sod=sod+i; } Console.WriteLine(sod); } } }
run
|
edit
|
history
|
help
0
Hash autoryzujący
Milimeters
Side 1
asdxscddasdcf
Determine if a string has all unique characters.
Bid Status
Interface and it's implementation
ByVal
Using System.Reflection to find Property Name and Value of any Generic class
Prsonal informashin