Please anybody find out below answer. i will very glad to hear from you.

A Relation R on the set X is to be tested for reflexivity.Design an algorithm to test the square matrix A for reflexivity of the relation R. The input should be the matrix A and its size, n.