You need to attempt some code before you ask for help. Nobody wants to do your homework for you. Since you didn't read the forum rules first, you likely also didn't read the thread on posting code. So read the following threads (linked below), then get to work on your questions. Afterward, if you get stumped, you can ask for help.
Forum Guidelines - Read before posting
Homework
Posting Code? Read this first!
You should also try setting up a schedule for your work, and sticking to it, so that next time you don't get caught in a bind like this.