answersLogoWhite

0

void main()

{

int a=0,b=1,c;

clrscr();

printf("%d",a);

printf("%d",b);

for(;c<=20;)

{

c=a+b;

a=b;b=c;

printf("%d",c);

}

getch();

}

User Avatar

Wiki User

15y 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 c program Fibonacci series using for loop in java?

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


Write a sample program using ASPNET explaining all the syntax and semantics of the program?

write a sample program using asp.net explaining all the syntax and semantics of the program


How do you write Square program using vb?

write a vb program to find the magic square


How do you write a program for printing the following outputs 12345678910?

using namespace std; #include &lt;iostream&gt; int main() { cout &lt;&lt; "123456789012" &lt;&lt; endl; }


Write a c program to solve cos series?

Please do.


Write Client and server program in C language using UDP?

Write and run a client and a server program in C-language using UDP


Write a program to print following series 100 81 64 49 36 25 16 9 4 1 by using for loop .?

10 rem for next 20 for i=10 to 1 step -1 30 ? I^2; 40 next i 50 end


How do you write a c program to convert binary to decimal by using while statement?

write a c++ program to convert binary number to decimal number by using while statement


Write a program that read phrase and print the number of lower-case letter in it using function of counting?

write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program


To write music using a series of signs and symbols?

Notate


Write a program By using if else statement to read a number and check whether it is positive or negative?

write a c++program by using if statement to read a number and check whether it is positive or negative