daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 45 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Rekurzija1 {
  2.     public static int nsd(int a, int b) {
  3.         if (a % b == 0) {
  4.           return b;
  5.     }
  6.         else {
  7.           return nsd(b, a % b);
  8.         }
  9.     }
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top