Hello, this is an assignment to be coded in purely C programming language, with no syntax taken from the C++ language. It has to be coded on the Debian version of linux, not on windows nor MacOS. I hope for the assignment to have easy to understand code, beginner friendly (as much as possible). No need for commenting, unless crucial for understanding code/syntax.

This assignment is a 3 part question. With the first two parts being fully functional and coded by myself, only the third part needs to be completed by today. I’ll only upload the third part as an attachment, then i’ll upload the full document as well as required code to work alongside with part 3.