scanf wants a pointer, not a value. (You are missing the & in front of the word choice.)


Quzah.