Plzz coreect my recursion,for the problem given in video

you have not written the return type of function
also you have not return from the base case

Modified Code