grado tabla matriz

  • shankman2k9
  • Born
  • Born
  • No Avatar
  • Registrado: Ago 07, 2009
  • Mensajes: 4
  • Status: Offline

Nota Agosto 12th, 2009, 6:52 pm

Im que busca construir una tabla utilizando una serie matriz multidimensional y declaraciones bucle si es necesario. El uso de estos prototipos
int getStudentCount ();
int getExamScores ();
int getLabScores ();
int calculatePointGrades ();
int calculateLetterGrades ();
int showGradeData ();
doble intArrayAve ();
doble doubleArrayAve ();
i necesidad de obtener un gráfico de este aspecto
SN
Exámenes de Laboratorio
Ave. Punto
Carta de grado
Grado
1 100 100,0 x XXX
2 95 99,9 x xx.x
3 90 99. 9 x xx.x
4 80 88,8 x xx.x
5 70 77,7 x xx.x
6 60 66,6 x xx.x
7 50 55,5 x xx.x

nadie puede ayudar a construir?
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Agosto 12th, 2009, 6:52 pm

  • spork
  • Brewmaster
  • Silver Member
  • Avatar de Usuario
  • Registrado: Sep 22, 2003
  • Mensajes: 6134
  • Loc: Seattle, WA
  • Status: Offline

Nota Agosto 14th, 2009, 5:10 pm

Muéstranos el código. ¿Qué has intentado hasta ahora?
The Beer Monocle. Classy.
  • shankman2k9
  • Born
  • Born
  • No Avatar
  • Registrado: Ago 07, 2009
  • Mensajes: 4
  • Status: Offline

Nota Agosto 14th, 2009, 5:27 pm

Esto es lo que tenemos hasta ahora. Yo no sé cómo crear la mesa y preguntar al usuario.

Código: [ Select ]
#include <iostream>

using namespace std;

const int NO_OF_STUDENTS = 10;
int getstudentcount ();
int getexamscores ();
int getlabscores();
int calculatepointgrades ();
int calculatelettergrades ();
int showgradedata ();
int arrayavg ();
double arrayave ();
int students[NO_OF_STUDENTS];
int examscores[NO_OF_STUDENTS];
int labscores[NO_OF_STUDENTS];
int s;
int Exam;
int lab;
int main()
{
    int getstudentcount ();
    cout << "Enter the number of students"<< endl;
    for (int s = 0; s <= 10; s++)

    {
        
        int students (0);
        cout << "students[NO_OF_STUDENTS]";
    }
    
    int getexamscores ();
    cout << "Enter the student exam scores"<< endl;
    return 0;
    for(int Exam = 0; Exam <= 10; Exam++)
    {
        int examscores (0);
        cout << "examscores[NO_OF_STUDENTS]";
    }
    
    int getlabscores();
    cout << "Enter the students lab scores" <<endl;
}
  1. #include <iostream>
  2. using namespace std;
  3. const int NO_OF_STUDENTS = 10;
  4. int getstudentcount ();
  5. int getexamscores ();
  6. int getlabscores();
  7. int calculatepointgrades ();
  8. int calculatelettergrades ();
  9. int showgradedata ();
  10. int arrayavg ();
  11. double arrayave ();
  12. int students[NO_OF_STUDENTS];
  13. int examscores[NO_OF_STUDENTS];
  14. int labscores[NO_OF_STUDENTS];
  15. int s;
  16. int Exam;
  17. int lab;
  18. int main()
  19. {
  20.     int getstudentcount ();
  21.     cout << "Enter the number of students"<< endl;
  22.     for (int s = 0; s <= 10; s++)
  23.     {
  24.         
  25.         int students (0);
  26.         cout << "students[NO_OF_STUDENTS]";
  27.     }
  28.     
  29.     int getexamscores ();
  30.     cout << "Enter the student exam scores"<< endl;
  31.     return 0;
  32.     for(int Exam = 0; Exam <= 10; Exam++)
  33.     {
  34.         int examscores (0);
  35.         cout << "examscores[NO_OF_STUDENTS]";
  36.     }
  37.     
  38.     int getlabscores();
  39.     cout << "Enter the students lab scores" <<endl;
  40. }
Moderator Remark: Added [code] tags

Publicar Información

  • Total de mensajes en este tema: 3 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 110 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC