if (n == 0)
not
if (n=0)
check your syntax careful.
solved Unable to print recursive fibonacci sequence correctly
if (n == 0)
not
if (n=0)
check your syntax careful.
solved Unable to print recursive fibonacci sequence correctly