fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. // your code goes here
  8. }
  9. }
Success #stdin #stdout 0.03s 19688KB
stdin
int x;
            Console.Write(" Enter The Number : ");
            while(!int.TryParse(Console.ReadLine() , out x))
            {
                Console.WriteLine("Please! Enter Number :");
            }
            if ( x % 2 == 0)
            {
              Console.WriteLine(" Number is Even ");  
            }
            else
            {
                Console.WriteLine(" Number is odd ");
            }
stdout
Standard output is empty