In an AP series , the median or middle term is given by = (first term + last term) /2

Let the last term =L

first term = A

In an AP , last term is given by = a+[n-1]d , where n= no of terms and d= common difference

Here n=k, and d=1 (consecutive numbers)

hence ,

240= [a+a+(k-1)]/2

this gives a= 240- (k-1)/2

hence the largest integer or last term = a+ (k-1)

substituting a, we get

last term or largest term = 240+ (k-1)/2

option B

_________________

If you feel the post helped you then do send me the kudos (damn theya re more valuable than $)