Don't use gets() in task paldrm!!!
little note
In fact you should never use gets(), it's a dangerous function.
Why is it dangerous function??
I think that it is dangerous because it doesn't limit how many chars you can read using gets ( ); so it can easily lead to overflow ?