HEY THIS QUESTION IS BASED ON JAVA IF ELSE LADDER PLEASE SEND ME THE COMPILED JAVA PROGRAM AS SOON AS POSSIBLE
Attachments:

Answers
Answered by
0
Explanation:
//Java Program to demonstate the use of if statement.
public class IfExample {
public static void main(String[] args) {
//defining an 'age' variable
int age=20;
//checking the age
if(age>18){
System.out.print("Age is greater than 18");
}
}
}
Similar questions