question about recursive even sum program
- by davit-datuashvili
hello i need program which returns sum of all even number <= to given n number
for example if n=even (let say 10) sum will be 2+4+6+8+10 or if n is odd (let say 13)
2+4+6+8+10+12 please help it should be recursive algorithm