How can I make this program work? Problem with arrays

Printable View