contains the code and pseudo code of comprinno assignment