answersLogoWhite

0


Best Answer

#include <iostream>

using std::cout;

using std::endl;

int main() {

int i = 0;

int j = 1;

int k;

cout << i << ' ' << j << ' ';

while (i + j <= 10000) {

k = i + j;

cout << k << ' ';

i = j;

j = k;

}

cout << endl;

return 0;

}

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write a program that compute and print Fibonacci series up to maximum value of 10000?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the assembly program to generate a geometric series and compute its sum The inputs are the base root and the length of the series The outputs are the series elements and their sum?

What is the assembly program to generate a geometric series and compute its sum The inputs are the base root and the length of the series The outputs are the series elements and their sum?


Write a c program Fibonacci series using for loop in java?

Exactly what do you mean by 'C program in Java'


Can you explain the program of Fibonacci series in c?

You mean you have written a program, but you don't understand it? Well, how could I explain it without seeing it?


Program to generate Fibonacci series using storage class in c plus plus?

i dn't know. haha


Is 20 a Fibonacci number?

20 is not a term in the Fibonacci series.


Can you have the program in C plus plus for recursive function generating a series of terms?

Yes, this can be done. For example for Fibonacci series. You will find plenty of examples if you google for the types of series you need to be generated.


Who invent sEquence and series?

Fibonacci!


What is golden ratio in Fibonacci series?

As you expand the Fibonacci series, each new value in proportion to the previous approaches the Golden Ratio.


How does the golden ratio relate to the Fibonacci sequence?

The golden ratio is approximately 1.618: 1. This ratio is commonly found in nature and architecture. Stock traders often look for this ratio in patterns on stock charts. One way to compute this ratio is to compare any adjacent Fibonacci numbers. For this reason stock traders often refer to this type of analysis using the term Fibonacci, as in "Fibonacci retracements".


Algoritham of Fibonacci series 0112358..?

132134...


Which areas of mathematics did Fibonacci specialize in?

Series


What is the 100th number in the Fibonacci series?

It is 354224848179261915075.