0% found this document useful (0 votes)
12 views1 page

Calcular Notas de Alumnos en Java

Uploaded by

luis.alfr8877
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views1 page

Calcular Notas de Alumnos en Java

Uploaded by

luis.alfr8877
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Scanner scanner = new Scanner(System.

in);
double[][] notas = new double[3][4];

for (int i = 0; i < 3; i++) {


[Link]("Ingrese las notas del alumno " + (i + 1) + ":");
[Link]("Nota del primer parcial: ");
notas[i][0] = [Link]();
[Link]("Nota del segundo parcial: ");
notas[i][1] = [Link]();
[Link]("Nota del examen final: ");
notas[i][2] = [Link]();

notas[i][3] = ((notas[i][0] + notas[i][1]) * 0.7) + (notas[i][2] *


0.3);
}
[Link]("\nInformación de los alumnos:");
for (int i = 0; i < 3; i++) {
[Link]("Alumno " + (i + 1) + ":");
[Link](" Nota del primer parcial: " + notas[i][0]);
[Link](" Nota del segundo parcial: " + notas[i][1]);
[Link](" Nota del examen final: " + notas[i][2]);
[Link](" Nota final: " + notas[i][3]);
[Link]();
}

[Link]();

You might also like