summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcd.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcd.java b/gcd.java
index 092419a..abc505f 100644
--- a/gcd.java
+++ b/gcd.java
@@ -1,3 +1,14 @@
+/*
+ * SYNOPSIS:
+ *
+ * # gcj -o gcd --main=gcd gcd.java
+ * # ./gcd 11 22 33 44 121
+ *
+ * # javac gcd.java
+ * # java gcd 11 22 33
+ *
+ */
+
public class gcd
{
public static int gcd2(int a, int b) {