The program may result in an error or provide an incorrect output if you don't use parentheses in the if conditions.