Now we have the Quiz number 3.

In this quiz, first we have to create a program that calculates the distance between two point in a graph using the coordinates (X, Y).

The user has to introduce the two points (X1, Y1) and (X2, Y2).

In the second program we have to do the Fibonacci sequence using just one input.

The Fibonacci sequence are the numbers in the following integer sequence.

0, 1, 1, 2, 3, 5, 8, 13, 21, …

By definition, the first two numbers in the Fibonacci sequence are either 1 and 1, or 0 and 1, depending on the chosen starting point of the sequence, and each subsequent number is the sum of the previous two.

Also, the program ask the user if he wants another number of the sequence.

TC101

Quiz 3

Quiz 3 by josequirogablog is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.