Question: How to turn long checksum(long n) into a RECURSIVE FUNCTION without using while? Please solve in C Long checksum(long n){ if (n0){ sum +=n%10; n/=10;
How to turn long checksum(long n) into a RECURSIVE FUNCTION without using "while"? Please solve in C

Long checksum(long n){ if (n0){ sum +=n%10; n/=10; \}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
