Write a program in c to print Fibonacci series of string | Sololearn: Learn to code for FREE!

0

Write a program in c to print Fibonacci series of string

Like str1=a, str2=b; 1line a 2 line b 3 ab 4 bab 5 abbab https://code.sololearn.com/c9qzG7JIg5jJ/?ref=app

c

7/1/2022 2:43:05 PM

Shekhar Rajbhar

12 Answers

New Answer

+4

I think I have to do it manually without loop

+1

I don't know what is wrong with my code

+1

Done it the code work correctly in my pc

+1

0

Reason of error- At line 16 , str3[i]=str1; str1 consist of more than one characters, And you're trying to put it in a "single" index of char array str3.

0

It doesn't work Output says ab abb abbb like this

0

Not working

0

I need output like this It Ace Aceit itaceit Aceititaceit Till 8 terms

0

The code has to run in front loop

0

Ya why not

0

https://code.sololearn.com/cah6AS5kK4vf/?ref=app

0

It is working in pc idle not here