daily pastebin goal
63%
SHARE
TWEET

Untitled

a guest Jan 13th, 2018 43 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
Top