Answer:
it is the last one
Explanation:
Since a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain. Also A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain).
The last one doesn't show the correct inputs and outputs