write a program to generate 1st n fibonacci prime number
Answers were Sorted based on User's Feedback
Answer / amit thakur
void main()
{
int x=1,i=0,n;
printf("Enter the value for n ");
scanf("%d",&n);
printf("\n%d ,",i);
for(;n>=1;--n)
{
x=x+i;
i=x-i;
printf("%d ,",x);
}
getch();
}
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / namrata
void main()
{
int x=1,i=0,n;
printf("Enter the value for n ");
scanf("%d",&n);
printf("\n%d ,",i);
for(;n>=1;--n)
{
x=x+i;
i=x-i;
printf("%d ,",x);
}
getch();
}
| Is This Answer Correct ? | 2 Yes | 2 No |
How can I read and write comma-delimited text?
How can I handle floating-point exceptions gracefully?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What are header files why are they important?
Hi Every one......... Please Any body give me the answer for my question. Is it possible to print the word "PRINT F", without using printf() statement in C-Language.
Give me basis knowledge of c , c++...
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles.
Write a c pgm for leap year
11 Answers College School Exams Tests, IBM, TCS,
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
What is difference between structure and union?
write a c/c++ program that takes a 5 digit number and calculates 2 power that number and prints it?