Computer Code (i. e., Program)
sum = 0;
i = 0;
do {
i = i + 1;
sum = sum + i;
} while (i < n);
The concepts of “variable”, “assignment’’, “logical expression’’, and “loop’’.
Previous slide
Next slide
Back to first slide
View graphic version