You will write a program that evaluates whether the number entered by the user is positive or not.
using System; class Program/*from w w w .j a v a 2 s . com*/ { static void Main(string[] args) { // Input Console.Write("Enter a number: "); string input = Console.ReadLine(); int number = Convert.ToInt32(input); // Evaluation if (number > 0) { Console.WriteLine("The number is positive"); } else { Console.WriteLine("The number is NOT positive"); } } }