how do I make this code compare the result?

Printable View