what is the input and output of the question y=1/2x+2

1 answer

pick any value for x. That is the input
then calculate x/2 + 2 -- that is the output.
For example,
input=2
output = 1+2 = 3