G2A Many GEOs
SHARE
TWEET

Untitled

a guest Mar 31st, 2020 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static int somasRecursivas(int num1, int num2) {
  2.     if (num1 > 0 && num2 > 0){
  3.         if (num2 == 0) {
  4.             return num2;
  5.         } else {
  6.             return num1 + somasRecursivas(num1, num2 - 1);
  7.         }
  8.     }
  9. }
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