after imput of number of cases, number of lines, and one last line of
the case, controller has output