kjdskcd9347 kjdskcd9347
  • 01-09-2020
  • Computers and Technology
contestada




analyze the given code

For I = 1 to n

For j = 1 to n

C =[i.j] = 0

For k=1 to n

C[i.j] = c [i.j] + a[i.k] * b[k.j]

End

End

end

Respuesta :

codiepienagoya codiepienagoya
  • 02-09-2020

Answer:

Following are the description to the given code:

Explanation:

In the given code, three for loop are used that uses the variable "I, J, and K", which starts from 1 and ends when it equal to the value of the "n".

Inside the "I and J" loop, another variable "C" is defined, which uses "i,j" and assign a value, that is equal to 0. In the "k" loop, it uses the "c[i.j]" to multiply the value of "a[i.k] and b[k.j]".

In other words, we can say, it calculates the multiplication of the matrix and stores its calculated value.

Answer Link

Otras preguntas

The major link between the brain and the glandular system is the
A hayride costs $8 per person, and there is a 25% discount for children, students, and senior citizens. If there are (p) people who do not qualify for the disco
what do you understand by saturated solution and unsaturated solution
Solve m=h-w/8 for the variable hsolve the above equation for w
Samaad had $20.He spent $12.50.His mum gave him $10 more.Samaad spent additional $14.50.How much is left?
PLZ HELP!! Clay minerals result from the weathering of feldspar and mica True False I don't know if this is in the right subject or not.
Find the solution set 6x^2-x=1
which of the following is NOT a principle including in the modern cell theory
i need help plz, percents
If you can give me to the answers for all the equations put on the picture you would be the love of my life