The purpose of the code segment flags is to obtain 0 sum of the main country items. 0 Sum of even elements in a matrix • Sum of the elements of a matrix. O 0 The sum of the elements of the secondary...

The purpose of the code segment flags is to obtain 0 sum of the main country items. 0 Sum of even elements in a matrix • Sum of the elements of a matrix. O 0 The sum of the elements of the secondary diameter. All of the previous options are wrongDo i=1,5<br>Do j=1,5<br>If(i==j)then<br>If(mod(A(i.j),2)==0)then<br>S=s+A(I,J)<br>Endif<br>Endif<br>End do<br>End do<br>

Extracted text: Do i=1,5 Do j=1,5 If(i==j)then If(mod(A(i.j),2)==0)then S=s+A(I,J) Endif Endif End do End do

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here