Domain of Variable/Examples/Books on Library Shelf

Example of Domain of Variable
Let $B$ be the number of books on a library shelf.

The domain of $B$ is the closed interval $\closedint 0 C$, where $C$ is the largest number of books that can be held on a shelf.

$B$ is a discrete variable.