The following assignment # 2 is attached below along with