Program to Print Fibonacci Series
#include
#include
void main()
{
int n,i,f1=0,f2=1,f3;
clrscr();
printf("Enter n number : ");
scanf("%d",&n);
printf("%d\t%d",f1,f2);
for(i=3;i<=n;i++)
{
f3=f1+f2;
printf("\t%d",f3);
f1=f2;
f2=f3;
}
getch();
}
Output :
Enter n number : 10
0 1 1 2 3 5 8 13 21 34
You mean you have written a program, but you don't understand it? Well, how could I explain it without seeing it?
It seems like your question got cut off. Could you please provide the full statement or context you would like me to explain?
Without seeing the actual diagram no real answer can be given.LEDs are used to generate light, often as status indicators.
Solar electric (photo-voltaic or PV) panels "generate" DC power when exposed to the sun. For rotary type generation such as hydro, wind, diesel or steam turbine (fuelled by coal, natural gas or nuclear), the actual generator part of the system can generate AC or DC depnding on the generator installed for that application.
The question is not clear can you go into discuss question and explain exactly what you want to do I'm sure I can help
If the Fibonacci sequence is denoted by F(n), where n is the first term in the sequence then the following equation obtains for n = 0.
You mean you have written a program, but you don't understand it? Well, how could I explain it without seeing it?
The corollaries types of statement is what is used to explain the steps of a proof.
The corollaries types of statement is what is used to explain the steps of a proof.
www.assignmentsclub.com
all statistics are numerical statement but all numerical statement s of are not statistics explain
Fibonacci's rabbit problem involves tracking the reproduction of rabbits over time, where each pair of rabbits produces another pair every month. The sequence of numbers that arises from this scenario is known as the Fibonacci sequence. A diagram typically shows the number of rabbit pairs at each time step, illustrating how the numbers grow according to the sequence.
a generalization
Because it is so interesting.. . .. ... ..... ........ ............. .....................Fibonacci first published a use for the pattern to explain bunny population growth in his book Liber Abaci (1202).Other interesting uses for the Fibonacci Sequence:The Golden Ratio and The Golden Spiral (as seen in DaVinci's Vitruvian Man)Phyllotaxis (how leaves appear on stem)Predicting stock share pricing (Fibonacci retractment)Graphs interconnecting parallel and distributed systems (Fibonacci Cubes)The Core in Cornwall, UK (architecture)The chorus of Astronomy, a hip-hop song by Black StarThe time signatures and syllable structure of the Toolsong LateralusAncestry of male bees
This statement is saying that music is inspired by love, and is the result of the latter.
state the theme, back up your statement with evidence, then explain why it is universal
business activity statement