//https://csprograms4u.blogspot.com/
//Chapter 1
//Program 3
//Relational Operators
import
java.util.Scanner;
public
class RO
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
int a,b;
System.out.println("Enter First
Number");
a=sc.nextInt();
System.out.println("Enter Second
Number");
b=sc.nextInt();
System.out.println("a---->"+a);
System.out.println("b---->"+b);
System.out.println("a>b---->"+(a>b));
System.out.println("a<b---->"+(a<b));
System.out.println("a>=b---->"+(a>=b));
System.out.println("a<=b---->"+(a<=b));
System.out.println("a==b---->"+(a==b));
System.out.println("a!=b---->"+(a!=b));
}
}
Nyc sir
ReplyDelete