I. 102. Write a program (i102.pas, ...) to decide whether a matrix with integer entries has at least one prime number in each of its rows.
The first line of the input will contain two positive integers, m and n, the dimensions of the first matrix, separated by a space, then the entries of the matrix will follow in m lines, each line containing n positive integers separated by spaces. Then either an end of input mark will be entered (two 0's separated by a space), or the description of another matrix in a similar format.
Your program should be submitted.
Deadline expired on 15 April 2005.