1,447 views
0 0 votes

int recfunc(  int n )

2  { if( \tiny n\leq 2)

3  return n;

4  int i=0;

5   while(i<100){

6  printf ("HELLO");

7  i=i+1;

}

8  int a;

9  a=2* recfunc(n/2);

10   while(j<a){

11   printf("BYE !");

12   j=j+1;

}

13  return a;

}

what is  the recurrence relation for this?

Please log in or register to answer this question.

Position:
Show:

No related questions found