Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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");
}
Source by sites.google.com #
 
PREVIOUS NEXT
Tagged: #statement
ADD COMMENT
Topic
Name
8+3 =