#include<stdio.h>
#include<conio.h>
void main()
{
int num1,num2; // integer declaration
clrscr(); // clear the screen
printf("Enter First integer Number :"); // prompting for a number
scanf("%d",&num1); // read an integer from keyboard
printf("Enter Second integer Number :");
scanf("%d",&num2);
if(num1==num2) // checking whether equals
{ printf("Both %d and %d are equal",num1,num2); }
else if(num1>num2) // num1 greater than num2
{ printf("Number %d is grater than %d",num1,num2); }
else // otherwise num2> num1
{ printf("Number %d is grater than %d",num2,num1); }
getch(); // using as a wait command
}