rygyfygy

NWD REKURENCYJNIE

Oct 30th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. //NWD REKURENCYJNIE
  2. int NWD(int a, int b)
  3. {
  4. if(b == 0) return a;
  5. else return NWD(b, a % b) ;
  6. }
  7.  
  8. int main()
  9. {
Advertisement
Add Comment
Please, Sign In to add comment