You are on page 1of 1

Exercise #1

Link: https://onlinegdb.com/e6BRzISeH

import java.util.Scanner;

class Main {

//Lenard Peregil BSIT101

public static void main(String[] args) {

Scanner peRegil = new Scanner(System.in);

int peRegil1;

int peRegil2;

System.out.println("Input first integer ");

peRegil1 = peRegil.nextInt();

System.out.println("Input second integer ");

peRegil2 = peRegil.nextInt();

if (peRegil1 == peRegil2)

System.out.println("The number you entered are equal");

You might also like