May 19 topic 1

From , 3 Years ago, written in C, viewed 221 times.
URL https://pastebin.vip/view/bb03e43f
  1. #include <stdio.h>
  2. int fun(int x) {
  3.   if (x > 1)
  4.     return x + fun(x - 1);
  5.   else
  6.     return 1;
  7. }
  8. void main() { printf("%d\n", fun(100)); }
  9.  

Reply to "May 19 topic 1"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website