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: 334
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 Memoria whander 33 1 Hoy, 05:47 AM
By: jando
Problema critico con mi pc... varios virus... o ... ederth666 5 0 Hoy, 05:38 AM
By: ederth666
Problema con jugar GALLOP RACER 2006... emmchio 283 16 Hoy, 05:31 AM
By: RedPhoenix
Problema con nero whander 358 7 Hoy, 05:29 AM
By: whander
URGENTE MI PC CONTINUA CON ESE VIRUS.. Ayuda po ... ederth666 300 7 Hoy, 05:23 AM
By: ederth666