Can someone please explain recursive to me?! I know that recursion is a function calling itself, but when it says
n = 4
I think thats right. Im doing it by memory.Code:int funt1 (int n) { if (n == 0) { return 1; } else { Return 2* funt1 (n-1); }
I am trying to write a program that takes a user input number and change the number into binary, octal, and the other one...lol. Its gotta have a class, a stack, and recursion.