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
Game 1.0.2
Kare Çizimi
lovefishhhh
my
Unary example
Project Euler Problem 7
Reverse String
asxasxd
train 11111111
0/1 Knapsack problem using Iterative Approach