GoConqr has a new look! Let us know what you think.

Module 8 of 9 · Text

Matriz que da numero diagonales

Cristian Santana

Algoritmo sin_titulo
 Dimension matriz[3,3]
 Para f<-1 Hasta 3 Con Paso 1 Hacer
  Para c<-1 Hasta 3 Con Paso 1 Hacer
   Leer n
   matriz[f,c]<-n
  FinPara
 FinPara
 Para f<-1 hasta 3 Con Paso 1 Hacer
  Para c<-1 hasta 3 Con Paso 1 Hacer
   Escribir matriz[f,c]
  FinPara
 FinPara
 Escribir "Los numeros en diagonal son: " matriz[1,1] ":", matriz[1,3] ":", matriz[2,2] ":", matriz[3,1] ":", matriz[3,3]
FinAlgoritmo
 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?