// 1.Develop a C# .NET console application to demonstrate the conditional statements
using System;
using System.IO;
using System.Text;
namespace IncludeHelp
{
class Test
{
// Main Method
static void Main(string[] args)
{
//finding largest of two numbers
int a;
int b;
//input numbers
Console.Write("Enter first number : ");
a = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter second number: ");
b = Convert.ToInt32(Console.ReadLine());
//finding largest number
int large = (a > b) ? a : b;
Console.WriteLine("Largest number is {0}", large);
//hit ENTER to exit the program
Console.ReadLine();
}
}
}