0

An n x n matrix is a positive

Markov matrix if all of its elements are positive and the values in each column sum to one.

Write a program to check whether a 3 x 3 matrix is positive Markov.

Your program should prompt the user to enter a 3 x 3 matrix row by row and place it in a two

dimensional array. It will then check whether the matrix is positive Markov. Your program

should then display the matrix and either

• The matrix is positive Markov

• The matrix is not positive Markov