write a program to check whether two numbers are equal or not
Answers
Answered by
2
public class abc
{
public static void main(String[]args)
{
int a=3;
int b=6;
if(a==b)
System. out. println("The numbers are equal ") ;
else
System. out. println (" They are unequal") ;
}
}
{
public static void main(String[]args)
{
int a=3;
int b=6;
if(a==b)
System. out. println("The numbers are equal ") ;
else
System. out. println (" They are unequal") ;
}
}
Similar questions
Political Science,
6 months ago
Math,
6 months ago
Math,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago