diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2011-04-10 22:42:06 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2011-04-10 22:42:06 +0400 |
commit | f3cd688b810a13b23697761019aeb774c227c53c (patch) | |
tree | c6ccbb47b0aa9cd7965caf6c878c782352da5471 | |
parent | 8d0f362d8098a7c7d93fe1087739a74754bebf4c (diff) | |
download | gcd-f3cd688b810a13b23697761019aeb774c227c53c.tar.gz |
Added synopsis: tested with GCJ and IcedTea6 javac
-rw-r--r-- | gcd.java | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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) { |