Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fibonicci series #42

Open
wants to merge 29 commits into
base: helloWorldNew
Choose a base branch
from
Open

fibonicci series #42

wants to merge 29 commits into from

Conversation

akashnagpal1123
Copy link
Contributor

#include<stdio.h>
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<number;++i)//loop starts from 2 because 0 and 1 are already printed
{
n3=n1+n2;
printf(" %d",n3);
n1=n2;
n2=n3;
}
return 0;
}

Gaurav9876543210 and others added 29 commits October 12, 2019 13:40
hi hello
print statement used
print statement used
Create multiplicationofnumbers.cpp
This program swaps 2 elements using  call by reference method in C language
Swapping Of elements using Call by reference
prubhtej upload request 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants