/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package BASICJAVA;
import java.util.Scanner;
/**
*
* @author ABIR
*/
public class First_Number_Second_Number__Equal_Comparision {
public static void main(String[]args){
Scanner abir =new Scanner(System.in);
System.out.println("Enter your first number");
int number1=abir.nextInt();
System.out.println("Enter your second number");
int number2=abir.nextInt();
if(number1>number2){
System.out.println("first is greater");
}else if(number1<number2) {
System.out.println("second is greater");
}else{
System.out.println("the numbers are equal");
}
}
}