This is an unofficial website for CS1102 labs created by Melvin.
Please note that there is no such thing as a model answer or solution for a programming task. The following are my attempts at analyzing the problem and showing you how to come up with a particular solution. In order not to bore you, I will only highlight the key steps in obtaining the solution.
Note that the version of the lab question shown here may not be the latest version on CourseMarker.