using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace divfstysecnchksecforzeroOretfst
{
class Program
{
static void Main(string[] args)
{
int Num1, Num2, Qt;
Console.WriteLine("Enter the First Number:");
Console.Write("Num1: ");
Num1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("\nEnter the Second Number:");
Console.Write("Num2: ");
Num2 = Convert.ToInt32(Console.ReadLine());
if (Num2 == 0)
{
Console.Write("\nSecond Number is Zero");
}
else if (Num1 < Num2)
{
Console.Write("\nSecond Number is Larger than First Number");
}
else
{
Qt = Num1 / Num2;
Console.Write("\nDisplay the Qutient is: " + Qt);
}
Console.ReadLine();
}
}
}
No comments:
Post a Comment