Skip to content

Commit 45cc2df

Browse files
committed
added conditionals_And_Loops\Logical_Statements.java
1 parent cc089ec commit 45cc2df

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package conditionals_And_Loops;
2+
3+
public class Logical_Statements {
4+
5+
public static void main(String[] args) {
6+
7+
int boy, girl;
8+
boy = 8;
9+
girl = 99;
10+
11+
12+
if (boy > 10 || girl < 99){
13+
System.out.println("you can enter");
14+
}else{
15+
System.out.println("you can NOT enter");
16+
}
17+
}
18+
19+
}

0 commit comments

Comments
 (0)