Write a program to find and print a Fibonacci sequence of numbers. The Fibonacci
ID: 3650998 • Letter: W
Question
Explanation / Answer
#include#include#include void main() { int limit,f0,f1,fn, last_no,i,temp; char ch='y'; clrscr(); printf(" This program prints the Fibonacci sequence"); do{ f0=0,f1=1,fn=0,temp=0,last_no=0; i=0; printf(" Enter a limit on the largest number to be displayed :"); scanf("%d",&limit); printf("%d ",f1); fn=f0+f1; for(;fn
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.