answersLogoWhite

0

//to generate Fibonacci series upto a range of 200....(in C)....

#include<stdio.h>

main()

{

int a,b,c,i;

a=0;

b=1;

printf("\n FIBONACCI SERIES .....\t");

i=1;

while(i<=(200-2))

{

c=a+b;

printf("\t%d",c);

a=b;

b=c;

i++;

}

}

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

Write a C program to print the following series 112 122 . 1n2?

write a program to print the series 1/12+1/22+.........+1/n2 ?


Write a program to print the series 072663124--term n?

To print the series 072663124 for a given term n, you can use a simple program in Python. The series appears to follow a specific pattern, so you can create a function that generates and prints the series up to the nth term. Here’s a basic implementation: def print_series(n): series = &quot;072663124&quot; print(series[:n]) # Example usage: n = 9 # specify the term you want to print print_series(n) This program prints the first n characters of the series. Adjust n to get the desired output.


Write a c program to solve cos series?

Please do.


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

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


Write a program that generates the Fibonacci series up to 200?

class Program { static void Main(string[] args) { int n1, n2, n3,i; n1 = 0; n2 = 1; for (i = 1; i &lt;= 20; i++) { n3 = n1 + n2; if (n3 &lt;= 200) { Console.WriteLine(n3); n1 = n2; n2 = n3; } } Console.ReadKey(); } }


Write a program to find the sum of sine series?

Writing a program for a sum of sine series requires a rather long formula. That formula is: #include #include #include main() { int i,n,x; .


How do you write a C program to Calculate the Series. The Value of x and n must take from input terminal.?

Reference:cprogramming-bd.com/c_page2.aspx# sum the series


Write a Unix program that generates a multiplication table?

$vi multable.sh echo "enter the value of n:" read n i=1 for((i=1;i&lt;=10;i++)) do echo " $n * $i = `expr $n \* $i`" done


How to write program for secant method in mathematica?

How to write a program for secant method by mathematica


Write a java program to print the result in the series?

If you have the series stored in an array, you loop through the array and print each array element in turn. Another possibility is to print out the numbers in the series as you generate them. In that case, you may not need to store anything (depending on the series, of course).


Write a program in Lex to eliminate white space and collect numbers as a token?

write a lex program to delete space from the program


How do you write Square program using vb?

write a vb program to find the magic square

Trending Questions
What was the name of sleeping beautys prince? How many times does Io revolve around Jupiter for each time Earth's moon revolves around Earth? Was a female art dealer and gallery owner who used extensive marketing techniques to rapidly catapult the artists she represented to celebrity status? How did the pamphlet common sense by thomas Paine aid the American cause in the revolutionary war? Penalty for filing a false police report in Georgia? What is the gift of faith? What was life like for a pregnant teenager in the 1940s? What is one hazard associated with operating a type g forklift in an enclosed trailer? Bank Tah Tut Bhd has issued a memorandum to all their branch managers that any amount in excess of RM1000-00 on any overdraft facility can only be allowed if prior approval from the managemen? What is the birth name of Carlos Morett? An exponential function is written as Fx equals a bx where the coefficient a is a constant the base b is but not equal to 1 and the exponent x is any number? How do stomata help a plant eliminate waste? Who was the composer of Shell's fuel symphony? What is the Roman numeral for 102? Who did John Smith and other Jamestown colonists attempt to trade with? How do Christians put the Apostles' Creed into their everyday lives? Remmington rifle b block model 1901- 32 single shot 32 rimfire what would it be worth it can shoot long or short 32 rds? What is da best song Eva? How do you open the mailbox in harvest moon ds cute? Who were the inventors of computers in 1999?