class Largest
{
                public static void main(String args[])
                {
                                int a=7,b=9;
                                if(a>b)
                                                System.out.println(a+" Is Greater Than "+b);
                                else
                                                System.out.println(b+" Is Greater Than "+a);
                }
}

JAVA 2.PNG

Advertisements