C programming Bangla Tutorial 5.169 : Array | Fibonacci series using array

preview_player
Показать описание
All C programming videos:
Рекомендации по теме
Комментарии
Автор

you are the best vai. your effort is massively appreciated!

AshrafulIslam-orbu
Автор

From International islamic university chittagong(IIUC).we follow your video.It 's best.you are the follower personality for private universities student for those who are very disappointed.Thank you for what you did.

md.rohmatulla
Автор

Book poreo othotuko buji nay...
but apner video deke clear hoi
thanks vai....

hatimoverseas
Автор

Via apne khub valo bojhan... Onk valo lage

wareshalhasan
Автор

love you brother, your learning style just awesome

hibi
Автор

khub bhalo kore and easy way te bujhan apni ! onek help hoi ! keep it up bhaiya !

ParthaDasGupta-lbcy
Автор

#include<iostream>
#include<string>
using namespace std;

int main() {

int i, N, arr[30];

cout<<"Enter the number of terms for the Fibonacci series: ";
cin>>N;

arr[0]=0;
arr[1]=1;


cout<<"fibonacci series is: ";
cout<<arr[0]<<", "<<arr[1];

for(i=2;i<=N;i++){
arr[i]= arr[i-2]+arr[i-1];
cout<<", "<<arr[i];

}

return 0;
}

Orbit_bd
Автор

this code work correctly until 48th number of fibonacci series .

keeplearning_kl
Автор

vaiya ata valo bujhte pari nai pls clear kore ar akta video

jonyahmed
Автор

array ta jodi user input e hoy tahole amara a[30] kano declear korlam??
asha kori answer diye bujte help korben

md.abubakardewan
Автор

ভাইয়া আই এর মান ০ হতে শুরু না হয়ে ২ হতে শুরু হল কেন?

sreebasbiswas
Автор

using namespace std;

int main()

{
int n, a[100], i;

cout<<"How many Fibonacci Number: ";
cin>>n;

a[0]=0;
a[1]=1;

for(i=2;i<=n;i++)
{
a[i]=a[i-1]+a[i-2];
}

cout<<endl;
for(i=0;i<=n;i++)
{
cout<<a[i]<<" ";
}
}

ঠোটকাটা-ত৯ন
Автор

1st loop for Fibonacci but second loop for what?

ahamedshehab
welcome to shbcf.ru