@@ -0,0 +1,211 @@
+public class Euclid %7B%0D%0A%09public static int gcd(int p, int q)%7B%0D%0A%09%09if(q == 0)%7B%0D%0A%09%09%09return p;%0D%0A%09%09%7D%0D%0A%09%09return gcd(q, p %25 q);%0D%0A%09%7D%0D%0A%09%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%09%09System.out.println(gcd(10, 2));%0D%0A%09%7D%0D%0A%7D

Add Euclid's GCD java implementation