It skips your input because you're using scanf, but you aren't telling it to do something useful with the \n you keep entering into your input stream. (hint: read the FAQ)


Quzah.