computer-science-101-hw-help-2

I need help with my computer science 101 hw

I have attached the instructions for the hw

so please review them before accepting the work.