Feb 1st, 2021
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static double backward(double limit) {
  2. // Declare local variable.
  3. double num = 5;
  4. if (limit <= 1)//base case
  5. return num;
  6. else
  7. return backward(limit - 1) + num;
  8. //endif
  9. }//end method backward
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.