This question's due date has already passed. You may post a tutorial, but there's no guarantee that the original asker will purchase the tutorial. But other people might!

Question

$1.00 for bansal nudit only

  • From Computer-Science: General-CS
  • Closed, but you can still post tutorials
  • Due on Nov. 22, 2011
  • Asked on Nov 19, 2011 at 3:05:19PM
Asked by :
Topshelfpimpin
Topshelfpimpin
Rating :No Rating
Questions Asked: 6
Tutorials Posted: 0
 
 
Q:



Currently student grade records are stored
parallel arrays.

    const
int NG = 4;

 

    string
names[] = {"Amy Adams", "Bob Barr", "Carla Carr",

 

                      "Dan Dobbs", "Elena Evans"

 

                     };

 

    int exams[][NG]= {  {98,87,93,88},

 

                        {78,86,82,91},

 

                        {66,71,85,94},

 

                        {72,63,77,69},

 

                        {91,83,76,60}

 

                     };  

 

 We want to
convert to an array of structures with the



 additional
fields: exam average and a letter grade.

 

 Your tasks
are:


 

  1. define
a structure for student grade records.

 

  2.
declare an array of records and populate from the parallel arrays.

 

  3.
compute average and populate average field.

 

  4.
determine letter grade and populate grade field.

 

  5.
display formatted grade records.