Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

if else statement

int x = 30;
int y = 40;

if(y>x)
{
System.out.print("x is greater than y");
}
else
{
System.out.print("x is not greater than y");
}
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
9+6 =