As CommonTater mentioned, it is good for you to write your own code anyway, plus the research would help you in the long runOriginally Posted by KrazySocoKid
Use CommonTater's example to see how a more experienced programmer might solve the problem. As for your program, be very careful about writing beyond the bounds of the array: notice that you start with i = 0 but your loop condition is i <= 54.