Print2digits error

Try autoformat on the code. You will see that you are missing a curly bracket. if you put every curly bracket on its own line, mismatches are easier to spot.