Explain Selection logic.
Question :
Explain Selection logic.
Selection logic, also known as decision logic, is used for making decisions. It is used for selecting the proper path out of the two or more alternative paths in the program logic, It is depicted as either an IF...THEN...ELSE or IF...THEN structure.