if the variable num contains 3, which of the following expressions evaluate to true? choose 2 answers: a num…

if the variable num contains 3, which of the following expressions evaluate to true? choose 2 answers: a num == 2 b num > 2 c num <= 3 d num != 3
Answer
Explanation:
Step1: Evaluate option A
Given num = 3, num == 2 checks if num is equal to 2. Since 3≠2, this is False.
Step2: Evaluate option B
num > 2 checks if num is greater than 2. Since 3>2, this is True.
Step3: Evaluate option C
num <= 3 checks if num is less than or equal to 3. Since 3 = 3, this is True.
Step4: Evaluate option D
num != 3 checks if num is not equal to 3. Since 3 = 3, this is False.
Answer:
B. num > 2, C. num <= 3