Let f:[1,10]→Q be a continuous function and f(1)=10, then f(10) is equal to
As function is a continuous function as given in the question and range of f(x) is only rational numbers and hence, function must be a constant function otherwise if the value of f(x) increases or decreases then at some point f(x) will have irrational value between any two rational values due to its continuity.