Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the piece of code:
for (i = 1, sum = 0; i <= 5; i++) sum += i * i;
None of these other options listed here describe the task accomplished by the given code fragment.
It involves a post-testloop.
It involves a post-test
loop.
It produces the same output as that of summingup the first 10 natural numbers.
It produces the same output as that of summing
up the first 10 natural numbers.
It goes into aninfinite loop.
It goes into an
infinite loop.
It computes the sumof squares of the 5 numbers input by the user.
It computes the sum
of squares of the 5 numbers input by the user.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!