Skip to content

Latest commit

 

History

History

fibonacci

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

This program prints the first n terms of the Fibonacci sequence. The user is prompted to enter a positive integer n. The program then generates and displays the Fibonacci sequence up to the nth term. It also includes checks for invalid input and a limit of 20 terms to prevent potential integer overflow.

Output >>>>>>