int fn(int a, int b) { if (b == 0) return 0; if (b == 1) return a; return a + fn(a, b-1); }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more