0
Write a program in c to print a Fibonacci series linked list in reverse order
Linked list https://code.sololearn.com/cN9eBPS76AL6/?ref=app https://code.sololearn.com/cN9eBPS76AL6/?ref=app
7 Answers
0
I am unable to reverse it anyone can help me
0
Is part of the requirement to use a linked list vs an array?
0
Yes it's a requirement
0
I want to use single first to create a linked list of Fibonacci series and then print it in reverse order
0
#include<stdio.h>
int main(void)
{
int num1,num2;
printf("enter two numbers");
scanf("%d%d",&num1,&num2);
if(num1>number2){
printf("greater number is %d", number1);
}else{
printf("greater number is %d", number2);
}
return 0;
}
What is the error on this?
0
Ask yur doubt in ur discuss