No. The if
statements follow in sequence.
Here is a sample run of the program:
D:\users\default\cs151\Notes\chap20>java ComboLock Enter first number: 6 Enter second number: 12 Enter third number: 30 Lock opens
Does the program give the user a second chance after the user enters a wrong combination?