doing loops and it keep returning 0

Printable View