Hi,
The program's not perfect, but it runs. When you access arrays, remember to start with 0 and not 1. If you make an array of size 2, then you access the elements 0 and 1.
int testarray[2] = {16, 25};
testarray[0] is 16;
testarray[1] is 25;
testarray[2] is out of bounds (error).
There...