import java.util.Scanner;
class NotaAluno {
public static void main
(String[] args
) { Scanner entrada
= new Scanner
(System.
in); int notaAluno[] = new int[3];
int total = 0;
for(int i = 0; i < notaAluno.length; i++) {
System.
out.
println("Informe o numero da nota do aluno [" + i
+ "]" ); notaAluno[i] = entrada.nextInt();
total += notaAluno[i];
}
System.
out.
println("A Media dos alunos eh " + total
/ 3); }
}
aW1wb3J0IGphdmEudXRpbC5TY2FubmVyOwoKY2xhc3MgTm90YUFsdW5vIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKCSAgICBTY2FubmVyIGVudHJhZGEgPSBuZXcgU2Nhbm5lcihTeXN0ZW0uaW4pOwoJICAgIGludCBub3RhQWx1bm9bXSA9IG5ldyBpbnRbM107CgkgICAgaW50IHRvdGFsID0gMDsKCSAgICBmb3IoaW50IGkgPSAwOyBpIDwgbm90YUFsdW5vLmxlbmd0aDsgaSsrKSB7CgkgICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbigiSW5mb3JtZSBvIG51bWVybyBkYSBub3RhIGRvIGFsdW5vIFsiICsgaSArICJdIiApOwoJICAgICAgICBub3RhQWx1bm9baV0gPSBlbnRyYWRhLm5leHRJbnQoKTsgCgkgICAgICAgIHRvdGFsICs9IG5vdGFBbHVub1tpXTsKCSAgICB9CgkgICAgU3lzdGVtLm91dC5wcmludGxuKCJBIE1lZGlhIGRvcyBhbHVub3MgZWggIiArIHRvdGFsIC8gMyk7Cgl9Cn0=