Let
x-------> the number of persons in the family
f(x)------> the function represent the cost of living
we know that
The domain of the function would only include positive integers, because the number of persons can not be negative or a fraction
The range of the function would only include positive numbers, because the cost can not be negative
therefore
the answer is the option B
The domain would only include positive integers.