+/EE379K

programming paradigms

git clone https://git.julia.blue/+/EE379K

Joseph RyanFix 'default' switch arm bug36054c3

master
246 B13 linesraw
1public class IfElse {
2    public static void main(String[] s) {
3        int x = 4;
4        if (x % 2 == 0) {
5            x = 3;
6        } else if (x < 0) {
7            x = -x;
8        } else {
9            x = 1;
10        }
11        x += 3;
12    }
13}