hi

i'm very new to the programming. i have two questions related to matrices. Hope somoeone will help me with the code or even pseudo code is fine.

1. A c# function that returns TRUE when a matrix have same elements in anyone of the rows.

eg. 1 2 4

1 1 1

2 2 4

The function for the above matrix should return True otherwise false.

2. A c# function which takes two input values and displays a matrix in the following pattern

input: a,b

a a a a

a a a b

a a b b

a b b b

b b b b

I would appreciate your help