// Simple if example
class SimpleIf
{
public static void main(String args[ ] )
{
int n;
n = 230;if( n > 100 )
{
System.out.println( " The number is greater than 100." );
}
}
}
Output:The number is greater than 100.
// Simple if example
class SimpleIf
{
public static void main(String args[ ] )
{
int n;
n = 230;if( n > 100 )
{
System.out.println( " The number is greater than 100." );
}
}
}
Output:The number is greater than 100.