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

2nd Jul 2022, 6:16 PM
Shekhar Rajbhar
Shekhar Rajbhar - avatar
7 odpowiedzi
0
I am unable to reverse it anyone can help me
2nd Jul 2022, 6:17 PM
Shekhar Rajbhar
Shekhar Rajbhar - avatar
0
Is part of the requirement to use a linked list vs an array?
2nd Jul 2022, 6:43 PM
William Owens
William Owens - avatar
0
Yes it's a requirement
3rd Jul 2022, 2:36 AM
Shekhar Rajbhar
Shekhar Rajbhar - avatar
0
I want to use single first to create a linked list of Fibonacci series and then print it in reverse order
3rd Jul 2022, 2:38 AM
Shekhar Rajbhar
Shekhar Rajbhar - avatar
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?
4th Jul 2022, 5:15 PM
Nadhil An
Nadhil An - avatar
0
Ask yur doubt in ur discuss
5th Jul 2022, 1:02 AM
Shekhar Rajbhar
Shekhar Rajbhar - avatar
5th Jul 2022, 1:03 AM
Shekhar Rajbhar
Shekhar Rajbhar - avatar