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