It was very difficult to me, but with the help of some websites, videos and posts of my classmates I understood how to write the code…
Here it is my code:
- Question 1: https://github.com/Andreandc/TC1017/blob/master/Quiz11.q1
- Question 2: https://github.com/Andreandc/TC1017/blob/master/Quiz11.q2
These are the websites:
- https://bytes.com/topic/c/answers/550892-please-help-e-x-estimating-program
- http://www.cplusplus.com/doc/tutorial/files/
Quiz#11 by Andrea Ac is licensed under a Creative Commons Attribution 4.0 International License.