Program One
This program asked us to take 2 points on the cartesian plane and print the distance in between those points.
I used the formula for distance for two points which is:
Here’s the source code.
Program Two
For this program, we had to make the Fibonacci series for the n number (which is a parameter), and print the nth number of the series. For this program I had a little help from my friend Luis.
For example the 8th number of the series is 21.
Here’s the source code.
QUIZ #07 by davidg2897 is licensed under a Creative Commons Attribution 4.0 International License.