Does anyone know if the Case Statement checks every ‘case of’ entry or does it stop checking when it finds a case that satisfies the argument?
The compiler will evaluate the case expression. If one of the case constants’ value matches the value of the expression, the statement that follows this constant is executed. After that, the program continues after the final end.