C-17-Q075mediumsingle_mcq
The logical operator used to combine the two relational tests inside each branch of the largest-number program is:
The logical operator used to combine the two relational tests inside each branch of the largest-number program is:
- a
or - b
and - c
not - d
xor
ব্যাখ্যা
Each branch combines two comparisons (e.g. >= num2 and >= num3) that must both be true, which requires the and operator. or would wrongly succeed when only one comparison held.