Final answer:
The domain of the function in this situation is the set of integers from 1 to 4, inclusive.
Step-by-step explanation:
The domain of a function represents the set of all possible values of the independent variable. In this case, the independent variable is the number of watermelons bought, which is represented by 'x' in the function y = 3x. Since customers can buy no more than 4 watermelons at the sale price, the domain of this function is the set of integers from 1 to 4, inclusive.