Difficult# While Loop: Counts and Sums

APCSA-VETWJR

Consider the following method.

```
public static int calcSum(int start, int increment, int end)
{
int sum=start;
int count=0;
while(sum<end)
{
sum+=increment;
if (sum%2==0)
{
sum+=1;
count++;
}
}
return sum;
}
```

If this method is called, `calcSum(10,9,40);`

, what will be the value of **count** and **sum** after the while loop completes its iteration?