C-17-Q072mediumsingle_mcq
The condition for declaring num2 as the largest is:
The condition for declaring num2 as the largest is:
- a
(num2 >= num1) and (num2 >= num3) - b
(num2 > num3) or (num2 > num1) - c
num2 == num1 - d
num2 < num1 and num2 < num3
ব্যাখ্যা
By the same logic, num2 is the largest when (num2 >= num1) and (num2 >= num3) holds true. Both relational tests must pass for num2 to win.