would somebody help me with recursion please?

I'm working through an example i've got in a book, but i need to edit something, here is the example question -

Code:
#include <stdio.h>  
          
int Adj(int count);      
void main()
{ int index;
  clrscr();
  printf("%d",Adj(3));
}

int Adj(int count)
{ if (count > 1)
	  return count * Adj(count-1);
  else
     return 1;
}
edit modify recur2 to enter an integer and use it to calculate the equivalent power of 2, for example if 3 is entered, 2 to the power of 3, is calculated giving the answer of 8(2*2*2).