Note: You can make the theorem stronger. The function does not need to be continous, it can be integrable.

Now, decreasing function are integrable so the theorem applies.

You can answer your question now.

Hint: Assume not, i.e. C>(a+b)/2 then C*(b-a) will be larger than the value of the integral, because the function is decreasing.