I've tried various different ways, but I just don't understand what's wrong. The program calculates the result incorrectly, but compiles and passes the "if -1 entered the program should terminate correctly" requirement.