Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
EVEN AND ODD
//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 { static double a = 0.0; static void input () { Console.WriteLine("Escriba su nùmero: "); a=double.Parse(Console.ReadLine()); } static void val () { if (2%a==0) { Console.WriteLine("Número par"); } else { Console.WriteLine("Número non"); } } public static void Main(string[] args) { input (); val (); } } }
run
|
edit
|
history
|
help
0
Anonoymus method using delegate in C#
latest Iequatable
Sum of numbers in string
ICollection<T>.Add(T) - Performance Test
Concatenate string with null.
I know it's a bit combersome, but it's my first attempt.
exception implicit toString
linq by Jean
Captcha
SimpleHelloworldProgram