C-18-Q049mediumsingle_mcq
The loop condition used to add numbers up to 100 is:
The loop condition used to add numbers up to 100 is:
- a
while count<100 - b
while count<=100 - c
while count==100 - d
while count>100
ব্যাখ্যা
To include 100 in the addition, the condition must be count<=100. Using <100 would stop at 99 and omit the final value 100 from the sum.