You are on page 1of 1

Consider the following code segment.

int k 1;
int sum = O;

while (k < 20)

sum + k;

out print
. sum ) ;

What is printed as a result of executing this code segment?

You might also like