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:
int fibo(long int);
void main()
{
long int a=0,n;
printf ("how many terms\n");
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;}
Array types An array is a collection of objects of a one data type. The individual objects are accessed by their position in the array. This way of accessing is known as indexi
Program to find a Greatest String: C - Program: Write a program find largest string by c program. int main( int argc, char *argv[] ) { if( argc {
What is copy constructor? describe the concept of copy constructor.
What is the difference between structure and class? - Members of structures are public while those of a class are private. - Classes provide data hiding while structures don
When I develop a destructor, do I require to explicitly call the destructors for my member objects?
C program to print L diagonal triangle: void main() { int i=0,j=0; int arr[rows][cols]; for (i=0; i
What is the purpose of return values? Can you not return any values from a function? If you could what would he function look like?
I have to add virtual void calculatePay and virtual void displayEmployee. How to I implement that in Salaried and Hourly Employee?
convert string s into palindrome by doing character replacement
Byteland county is very famous for luminous jewels. Luminous jewels are used in making beautiful necklaces. A necklace consists of various luminous jewels of particular colour. Nec
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