I have given an assignment in c and i have no idea about C as such except some basic programming. I would appreciate if someone can help me how to do this.

The given "input.txt" is the file...