Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
C program to Print Fibonacci series upto n using recursion:
int fibo(long int);
void main()
{
long int a=0,n;
printf ("how many terms");
scanf("%d",&n);
for(int i=1;i<=n;i++)
{a=fibo(i);
printf("%d ",a);
}
fibo(long int m)
long int x;
if(m>2)
x=fibo(m-1)+fibo(m-2);
return x;
else if(m==2)
return 1;
else if(m==1)
{return 0;}
OUTPUT
Explain procedural logic A procedure, or function, was explained as a set of specific instructions implemented in sequential manner. The data is kept separate from the procedur
Ask question #Miniasdasmum 100 words accepted#
Multidimensional Arrays - Every dimension is specified in separate brackets e.g. int arr[4][3]; This is a two-dimensional array with 4 as row dimension and 3 as
write a c program chat illustrates the creation of child process using fork system call. One process finds sum of even series and other process finds sum of odd series.
Define Pure Virtual Function? Why & when it is used?
Is there any difference between List x; and List x ()? Can you please provide me assignment help.
At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers
Prepare an Application in C# or C++ Project Description: We are seeking someone who can write a program in C# or C++. The idea is to prepare the program using a Cross Plat
Question 1 / 1 You have an N x N chessboard and you wish to place N kings on it. Each row and column should contain exactly one king, and no two kings should attack each other (two
use of header files
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd