Code only outputs 1's

Printable View