Program to Print the Fibonacci sequence | Javascript Tutorial
HTML-код
- Опубликовано: 18 сен 2024
- Program to Print the Fibonacci sequence | Javascript Tutorial
In This Tutorial, We will learn about the Program to Print the Fibonacci sequence | Javascript Tutorial Full Tutorial Step By Step with proper guidance.
Please subscribe and press the bell icon to receive daily updates
Facebook: / wscubetech.india
Twitter: / wscube
Instagram: / wscubetechindia
LinkedIn: / wscubetech
RUclips: - / @scoreshala
Website: www.wscubetech.com
#Fibonaccisequence #JavascriptTutorial #Javascript
Bhaiya Ji Thank You.. Bahut Simple tha ye
Thanks bro... 👍👍👌👌😍😍
a=b, b=temp....reminds me of that scene from govinda's movie "haseena maan jaegi" when paresh raval says "ohhh saab ji...jo chacha hai,wo bhatija hai...aur jo bhatija hai, wo chacha hai".
hehehehe
heheeeeeeehe
thanks
Tq so much
Thank you
Thank you so much for making this video. What to do if we want output in array format for example [0,1,1,2,3,5] ?
Initialize an empty array, eg: let fb = [ ] and use the push() method to populate the array.
Maja aa gaya aap se padh kar bhai
thank you so much sir ❤
Most welcome
Sir console.log ko run kasa karay
output correct rhta but code likhne ka tarika sahi kr do sir kha ka kha console likh dete ho student achhhe se smjh nhi pate confused hote hai pura complite program likha kro
trickey
Plz hello plz
#include
#include
void pm();
void plus();
void div();
int i,ch,j,l,addr=100;
char ex[10], exp[10] ,exp1[10],exp2[10],id1[5],op[5],id2[5];
void main()
{
clrscr();
while(1)
{
printf("
1.assignment
2.arithmetic
3.relational
4.Exit
Enter the choice:");
scanf("%d",&ch);
switch(ch)
{
case 1:
printf("
Enter the expression with assignment operator:");
scanf("%s",exp);
l=strlen(exp);
exp2[0]='\0';
i=0;
while(exp[i]!='=')
{
i++;
}
strncat(exp2,exp,i);
strrev(exp);
exp1[0]='\0';
strncat(exp1,exp,l-(i+1));
strrev(exp1);
printf("Three address code:
temp=%s
%s=temp
",exp1,exp2);
break;
case 2:
printf("
Enter the expression with arithmetic operator:");
scanf("%s",ex);
strcpy(exp,ex);
l=strlen(exp);
exp1[0]='\0';
for(i=0;i