Friday, May 25, 2007

Array Project

This week we continued to work on our Array project. Last week I had trouble making it towards the end but i managed to finish it on thursday. I discovered that the thing i had wrong was the beginning of the For statements were wrong. What i had was: For i=0 to numday. The problem was this was that it didn't stop when ticket(i)= -1. What i did instead whas this: For i=0 to 364, then made an if statement: if ticket(i)=0 then exit for. Once i did that almost all of my buttons worked except for the t200 button that ouputs the amount of days it took to sell 200 tickets. But all i had to do was change the order of the code and put the if statement regarding the -1 before the rest of the code. We also learned more about ergonomics and sitting the right way at a computer as well as an introduction to putting animations in programs.

This week i figured out alot of things without help that made me complete my project and i am proud of myself. I hope i can continue to do lots of good work. My goal for next week is to continue to be productive and figure out things by myself.

No comments: