Wrong answer on test 7 in Broken calculator

Please review my code