CSE 333 25au Exercise 5

out: Friday, October 3, 2025
due: Monday, October 6, 2025 by 10:00 am, No late exercises accepted.

NOTE: we're skipping exercise 4 this quarter, which is just a simplified version of exercise 5. Y'all are just too good!

Goals: Write a multi-file C program that properly uses header, implementation, and client files to partition a program. Learn how to compile programs with Make.

Description: Your job is to write a multi-file C program. You should write the following three files:

You should use (and include in your final submission) this unmodified Makefile: link. Place the Makefile in your exercise directory and then run the terminal command make to compile your solution binary. Conversely, run make clean to delete any files generated by the compiler (including the final executable). The latter is useful to make sure you're not accidentally adding any temporary files to a git commit!


Your code must:

You should submit your exercise using the Gradescope dropbox linked on the course resources web page.