Run Code
|
Code Wall
|
Users
|
Misc
|
Feedback
|
About
|
Login
|
Theme
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
Please
log in
to post a comment.
Two lines of Random number
C# Abstract class and method
123
Math 10.0 (Added no repeat random numbers)
UriParts
Rextester.Program.Main
Delegates
learning1
Hash autoryzujący
Reverse String and Binary Search of floating point values
Please log in to post a comment.