Bienvenido: ( Identificarse | Registrarse )      
Foros de Trucos Windows
 
Closed TopicStart new topicStart Poll

Outline · [ Estándar ] · Lineal+

> ayuda sobre este problema sobre arreglo bidimensional

zilary1510
post Jul 7 2008, 01:09 AM
Publicado: #1


Newbie
*

Grupo: Members
Mensajes: 1
Registrado: 7-July 08
Miembro nº: 234.748



hola alguien me puede ayudar con el sgte problema

LA UNIVERSIDAD DESEA CONTROLAR LOS RESULTADOS DE LOS ALUMNOS EN LAS DISTINTAS ASIGNATURAS DE LA FACULTAD. EL PROGRAMA DEBE INGRESAR LAS CALIFICACIONES DE LOS ALUMNOS Y VISUALIZAR EN PANTALLA LA MEDIA DE NOTAS POR ALUMNO Y LA MEDIA DE NOTAS POR ASIGNATURA .
LAS ASIGNATURAS ESTAN CODIFICADAS DE 1 A 6Y HAY 10 ALUMNOS
APLICAR ARREGLO BIDIMENSIONAL EN JAVA (algoritmo)


User is offlineProfile CardPM
Go to the top of the page
+Quote Post
_chepo_
post Jul 8 2008, 02:35 AM
Publicado: #2


Chepo
*****

Grupo: Members
Mensajes: 319
Registrado: 13-December 06
Desde: El 5to infierno
Miembro nº: 188.511



Hola

El arreglo tiene que ser de 11 por 11,
CODE

materia     1 2 3 4 5 6 media
alumnos    2
           .
          10
          media


pero como los arreglos empiezan de cero, seria N-1

primero llenas el arreglo con dos ciclos for.

desde el 0 hasta el 9

luego recorres, el arreglo de 0 al 9 y en el 10 pones el resultado


Perdon por no poder poner el algoritmo, no se mucho de java new18.gif

Espero te haya servido esto. rolleyes.gif


User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
Closed TopicTopic OptionsStart new topic

Collapse

> Topicos similares

problema con Directx 9 chekoroll 26 1 Ayer, 11:36 PM
By: RedPhoenix
AYUDA CON MI PC lords 6 0 Ayer, 11:32 PM
By: lords
Ayuda con instalacion de XP sp2 en disco duro U ... billybrasov 40 1 Ayer, 11:26 PM
By: onlinebuycialis
PROBLEMA AL PASAR ARCHIVOS POR BLUETOOTH chungopetaka 20 1 Ayer, 11:22 PM
By: patricioirrazabal
necesito ayuda sigloxxii 41 2 Ayer, 11:17 PM
By: sigloxxii