i
TSS Consultancy
Filter interviews by
I applied via Telegram add and was interviewed before Nov 2021.
I applied via Walk-in and was interviewed in Jun 2022.
I applied via Walk-in and was interviewed in Jun 2022.
I applied via Company Website and was interviewed in Apr 2022.
Fionacci series
#include
#include
int main()
{
int n1=0,n2=1,n3,i,number;
printf("Enter the number of elements:");
scanf("%d",&number);
printf("\n%d %d",n1,n2);//printing 0 and 1
for(i=2;i
n3=n1+n2;
printf(" %d",n3);
n1=n2;
n2=n3;
}
return 0;
}
Output:
Enter the number of elements:15
0 1 1 2 3 5 8 13 21 34 55 89 144 233 377
Fibonacci Series using recursion in C
Let's see the fibonacci series program in c using recursion.
based on 1 review
Rating in categories
Business Analyst
124
salaries
| ₹2.3 L/yr - ₹9 L/yr |
Associate Business Analyst
94
salaries
| ₹2 L/yr - ₹4.8 L/yr |
Associate Test Engineer
47
salaries
| ₹1.8 L/yr - ₹4.2 L/yr |
Software Engineer
36
salaries
| ₹3.6 L/yr - ₹13.4 L/yr |
Junior Business Analyst
34
salaries
| ₹1.8 L/yr - ₹4.1 L/yr |
TCS
Infosys
Wipro
HCLTech