Which word correctly completes the sentence?
What __________ did the weather have on their plans?

a. affect
b. effect
is it a