Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
23
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { int n; Console.WriteLine("Enter a number : "); n = int.Parse(Console.ReadLine()); if(n == 0) { Console.WriteLine(n + " is zero."); } else if(n > 0) { Console.WriteLine(n + " is a positive number."); } else { Console.WriteLine(n + " is a negative number."); } } } }
run
|
edit
|
history
|
help
0
Reflection 2
Fuuuu
group by
Main5.2
Random number guessing game v1
Program.cs
EpsilonComparer
1 to n
Imp
ToBase64String