Java Trainer Puzzle 5.3.3

Class

class Puzzle {
  int a, b;
}

Puzzle

Write a statement that, as long as a and b are not equal, keeps whittling down the larger by subtracting the smaller from it.

Solution

Your browser does not support the Java necessary for this exercise.