A program of java to check equal or unequal numbers
Answers
Answered by
0
Accept two numbers from the system
n1 and n2 respectively then:
if(n1==n2)
{
System.out.print(“the numbers are equal”);
}
else
{
System.out.print(“the numbers are not equal”);
Then end the program
n1 and n2 respectively then:
if(n1==n2)
{
System.out.print(“the numbers are equal”);
}
else
{
System.out.print(“the numbers are not equal”);
Then end the program
Similar questions
Math,
8 months ago
Computer Science,
8 months ago
History,
8 months ago
English,
1 year ago
Math,
1 year ago