# In the code fragment given below, start and en...

In the code fragment given below, start and end are integer values and prime(x) is a function that returns true if x is a prime number and false otherwise.

i := 0; j := 0; k := 0;
for (m := start;m <= end;m := m+1){
if (prime(m)){
i := i + m;
k := k - m;
}else{
j := j - m;
k := k + m;
}
}

At the end of the loop:

k == i-j.

k == j-i.

k == -j-i.

Depends on start and end.

## Responses

The value of i + j + k is 0 initially, and also at the end of each iteration of the loop.
Thus k = −j − i at the end of the loop.