The following code does not iterate the first loop\'s statements for the second time. Tried to use fflush(stdin) but I suppose that there should be something else in the parenth