Quiz # 8

The quiz for this week consisted on returning a certain term of the Fibonacci sequence.

To solve this problem there were two solutions. The first one was using recursion:

quiz8quiz8run

The second one was using a while loop:

quiz8-2quiz8-2run

And that’s it! ❤

I didn’t face any major problems with this quiz because I had already studied both of the topics I used. You can read about them in the links I inserted above! 😀

 

2 thoughts on “Quiz # 8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s