C-18-Q051mediumsingle_mcq
If the condition were while count<=10 with the same body, the printed sum would be:
If the condition were while count<=10 with the same body, the printed sum would be:
- a10
- b45
- c55
- d100
ব্যাখ্যা
Summing 1 through 10 gives . The loop adds every integer up to and including 10 because of the <= condition.