Hi, all
I am trying to write a code for root test. I'm trying to do it recursively. For instance, If n = 25 and r = 2 then.. the domain is from 1 to 25 first it will add first number and last number which is 26 and divide by 2 is equal to 13 and it will go on like that...but i'm having problem how to write the code. Could someone help me about that?