after each gets() try fflush(stdin);
ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.