update: testing and result finding quest
This commit is contained in:
13
tests/test4.java
Normal file
13
tests/test4.java
Normal file
@@ -0,0 +1,13 @@
|
||||
public class test4{
|
||||
public static void main(String[] args) {
|
||||
int x = 10; // Line 3
|
||||
int y = 0; // Line 4
|
||||
if (x > 5) { // Line 5
|
||||
y = x + 10; // Line 6
|
||||
} else {
|
||||
y = x - 10; // Line 8
|
||||
}
|
||||
int z = y * 2; // Line 10
|
||||
System.out.println(z); // Line 11
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user