Computer Science, asked by mehuleedas, 7 months ago

Write a program in Java:-
Input 2 numbers and check whether they are equal or not.​

Answers

Answered by duvarakesh222K
3

Explanation:

Java Program to Accept two Integers and Check if they are Equal

public class Equal_Integer.

int m, n;

Scanner s = new Scanner(System.

System. out. print("Enter the first number:");

m = s. nextInt();

System. out. print("Enter the second number:");

n = s. nextInt();

if(m == n)

Similar questions