Code is outputting a random integer, changes every time I run it

Printable View