Feeds
질문
Given a matrix A = [2 5 7; 4 1 8], write a for loop that will replace all the even numbers with 0.
I'm looking for something using a for loop (probably nested) and possibly mod(A,2) to determine the even numbers What I tried...
대략 8년 전 | 답변 수: 2 | 0