# lab7.pdf - LABORATORIO DE PROGRAMACIN 1 SESIN 7 Trimestre 4...

• Lab Report
• 3

This preview shows page 1 - 3 out of 3 pages.

LABORATORIO DE PROGRAMACIÓN 1 SESIÓN 7 Trimestre 4 Parcial 2

Subscribe to view the full document.

Objetivos: * Aplicar la lógica programática para la resolución de problemas. * Mejorar el análisis y codificación de las estructuras de control en Java * Mejorar el entendimiento de matrices. DESARROLLO DE LA PRÁCTICA. Cree un nuevo proyecto Java (lab7_<NombreApellido>), luego creará un menú utilizando JOptionPane para cada uno de las aplicaciones que a continuación se le pide que desarrolle. Ejercicio #1 (3 puntos) Elabore un método String que pida de parámetro el matriz de nxn(con valores aleatorios entre 1-100) que sume los valores que están en el área sombreado de acuerdo a n. Su trabajo consistirá en retornar los valores que se van a sumar y el resultado final. Ej) Ingrese el tamaño de la matriz: 5 Suma: 3+42+50+21+81+34+9+5+25+19+27 = 316 Ejercicio #2 (3 puntos)
• Fall '17

{[ snackBarMessage ]}

###### "Before using Course Hero my grade was at 78%. By the end of the semester my grade was at 90%. I could not have done it without all the class material I found."
— Christopher R., University of Rhode Island '15, Course Hero Intern

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern