correct the following code int sum(int n) { if (0 == n) { return 0; } else { n + sum(n-1); }}
Posted: Mon Jun 06, 2022 12:46 pm
correct the following code int sum(int n) { if (0 == n) { return 0; } else { n + sum(n-1); }}
Accurate answers. Every time.
https://answerhappy.com/