1! Check to ensure only the first true clause in WHERE is2! executed.3program where_174integer :: a(3)
56a = (/1, 2, 3/)
7where (a .eq. 1)
8a = 29elsewhere (a .le. 2)
10a = 311elsewhere (a .le. 3)
12a = 413endwhere14if (any (a .ne. (/2, 3, 4/))) STOP115end program16