here are my codes at github
q1:
https://github.com/andresvaldi/TC1010/blob/master/fibonacci.cpp
q2:
https://github.com/andresvaldi/TC1010/blob/master/q2
QUIZ #07 by andresvaldi is licensed under a Creative Commons Attribution 4.0 International License.