Which of these selection statements test only for equality?
if
switch
if & switch
None of the mentioned
Explanation:
switch statements checks for equality between the controlling variable and its constant cases.
switch statements checks for equality between the controlling variable and its constant cases.