Nth Fibonnaci function video

In the program coded in the video the first number 0 is not included in the series. If we input 1 in the program shown in the video we won’t be receiving the output as 0.

yes @Vansh1410 this is i think 0th based indexing just add the case if n==0 cout 0