Learn to read 次第 in the app in under 3 minutes
JLPT N3 · Question 596
Well done, that is the right answer.
次第
Your answer: しだい