public class Tester { public static void main(String[] args) { int j = 0; int result = 0; do { j++; result += 4 - j; } while (j < 4); } }