I am taking a programming class at the moment, i have tried for so long to get this to work but i cant figure it out. i have tried using loops, but i cant get it right one way or the other, either the loop is infinite or it goes strait to the end. if anyone could offer any help i would greatly appreciate it. here is the original assignment.
it wont let me post my mediafire files on here otherwise i would so you can see what i have right now, wtf....