What is the purpose of the algorithm presented in question 3?
The algorithm calculates the product of the even and odd numbers in the main diagona...
What is the purpose of the algorithm presented in question 3?
The algorithm calculates the product of the even and odd numbers in the main diagonal of a square matrix. a) To calculate the sum of the even and odd numbers in the main diagonal of a square matrix. b) To calculate the product of the even and odd numbers in the secondary diagonal of a square matrix. c) To calculate the sum of the even and odd numbers in the secondary diagonal of a square matrix. d) To calculate the product of the even and odd numbers in the main diagonal of a rectangular matrix. e) To calculate the sum of the even and odd numbers in the main diagonal of a rectangular matrix.
O objetivo do algoritmo apresentado na questão 3 é calcular o produto dos números pares e ímpares na diagonal principal de uma matriz quadrada. A alternativa correta é a letra "d) Para calcular o produto dos números pares e ímpares na diagonal principal de uma matriz retangular".
0
0
✏️ Responder
Para escrever sua resposta aqui, entre ou crie uma conta
Compartilhar