Skip to content

Commit 1d67ce6

Browse files
Create test.md
1 parent 8dc0d06 commit 1d67ce6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

JS-Algo/test.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
```java
2+
3+
if(carYear < 1968) {
4+
System.out.println('Something...');
5+
}; <--error
6+
7+
else if(carYear < 1968) {
8+
System.out.println('Something...');
9+
}; <--error
10+
11+
while(i > 10); <--error {
12+
System.out.println('Something...');
13+
}
14+
15+
for(int i = 0; i < 10; i++; <--error) {
16+
System.out.println('Something...');
17+
<-- Missed a curly braces
18+
19+
```
20+
21+
```java
22+
int a = 17;
23+
int b = 21;
24+
if(a == b); {
25+
System.out.println("You are allowed to enter the bar");
26+
}
27+
```
28+
29+
```
30+
You are allowed to enter the bar
31+
```

0 commit comments

Comments
 (0)