First project please help. temparr not defined.

Please help.

could anybody test me code for me?

Andy