public class Ifstatement example
{
public static void main(String[] args)
{
int salary=10000;
if(salary>2300){
System.out.print("salary is greater than 2300");
}
}
}
OUTPUT:salary is greater than 2300
{
public static void main(String[] args)
{
int salary=10000;
if(salary>2300){
System.out.print("salary is greater than 2300");
}
}
}
OUTPUT:salary is greater than 2300
No comments:
Post a Comment