R4R Java SourceCode Example of if statements

Example of if statements 

This is example of if statements.

SOURCE CODE


class IfExample
{
public static void main(string args[])
{
int a,b;
a=20;
b=60;
if(a<b)
System.out.println("a is less then b");
if(a>b)
System.out.println("a is greater then b");
if(a==b)
System.out.println("a equal b");
}
}

Download Source File