What is the answer is it a Yes or No HELP!!! This is at test and I only need help on this problem

Answer:
Yes
Step-by-step explanation:
y is said to be a function of x. where x is the independent variable and y is the dependent variable. The height of the stacks is y and the number of cups in the stack is x, so yes, we can say that the height of the stack is a function of the number of cups in the stack.