Answer:
Was. The sentence should be "If I were taller, I could reach the top shelf."
Explanation:
If the sentence is: "If I was taller, I could reach the top shelf".
The asnwer is Was. The sentence should be "If I were taller, I could reach the top shelf."