 << "POINTS" <<
                setw(RTAB) << "PCT" << setw(RTAB) <<
                 "GRADE" << endl;
    double Percentage,              //holds students percentage
           AvgPercentage;
    int Earnedpoints,               //earned points for specific student
        Totalpoints,                //total points possible for all students
        AvgPoints,                  //average points for all students
        NumClass;                   //counts the number of students
    Totalpoints = Earnedpoints =    //set all vals equal to zero
    AvgPoints = AvgPercentage = Percentage =  NumClass = 0;
                                    //first and last char for studentID
    char Fchar,Lchar, Num1, Num2, Grade;

    int TmpVal = 0;                 //temporary value
    cin >> TmpVal;
    while(TmpVal!= -1)             //reading in TOTAL POINTS
    {
        Totalpoints += TmpVal;      //add scores onto each other
        cin >> TmpVal;              //read in next value
    }

    while(cin)                       //WHILE LOOP ISSUE HERE!
    {
                                     //read in student initials
            cin >> Fchar >> Num1 >> Num2 >> Lchar >> TmpVal;
            while(TmpVal!= -1)
            {
                Earnedpoints += TmpVal; //read in points earned
                cin >> TmpVal;
            }
                                        //calculate percentage
            Percentage = ((double)Earnedpoints / Totalpoints) * 100;
            AvgPercentage += Percentage;
            NumClass++;
            if(Percentage >= 90)        //determine grade for student
                Grade = 'A';
            else if(Percentage >= 80 && Percentage < 90)
                Grade = 'B';
            else if(Percentage >= 70 && Percentage < 80)
                Grade = 'C';
            else if(Percentage >= 60 && Percentage < 70)
                Grade = 'D';
            else if(Percentage < 60)
                Grade = 'F';
                                        //display information on student

            cout << left << Fchar << Num1 << Num2 << setw(LT
< < " POINTS " < < 
                 setw(RTAB) < < " PCT " < < setw(RTAB) < < 
                  " GRADE " < < endl; 
     double Percentage,               //holds students percentage 
            AvgPercentage; 
     int Earnedpoints,                //earned period for specific scholar 
         Totalpoints,                 //total points possible for all student 
         AvgPoints,                   //average point for all students 
         NumClass;                    //counts the number of scholar 
     Totalpoints = Earnedpoints =     //set all vals adequate to zero 
     AvgPoints = AvgPercentage = Percentage =   NumClass = 0; 
                                     //first and last char for studentID 
     char Fchar, Lchar, Num1, Num2, Grade; 

     int TmpVal = 0;                  //temporary value 
     cin > > TmpVal; 
     while(TmpVal!= -1)              //reading in TOTAL compass point 
     { 
         Totalpoints + = TmpVal;       //add scores onto each early 
         cin > > TmpVal;               //read in next value 
     } 

     while(cin)                        //WHILE LOOP ISSUE HERE! 
     { 
                                      //read in student initials 
             cin > > Fchar > > Num1 > > Num2 > > Lchar > > TmpVal; 
             while(TmpVal!= -1) 
             { 
                 Earnedpoints + = TmpVal; //read in points earned 
                 cin > > TmpVal; 
             } 
                                         //calculate percentage 
             share = (( double)Earnedpoints / Totalpoints) * 100; 
             AvgPercentage + = Percentage; 
             NumClass++; 
             if(Percentage > = 90)         //determine grade for student 
                 Grade =' A'; 
             else if(Percentage > = 80 & & Percentage < 90) 
                 Grade =' b-complex vitamin'; 
             else if(Percentage > = 70 & & Percentage < 80) 
                 Grade =' C'; 
             else if(Percentage > = 60 & & Percentage < 70) 
                 Grade =' D'; 
             else if(Percentage < 60) 
                 Grade =' F'; 
                                         //display data on student 

             cout < < forget < < Fchar < < Num1 < < Num2 < < setw(LT
 << "PLINTS" <<
                seuw(RTAB) << "PCT" << setw(TTQB) <<
                 "ERADE" << endl;
    double Percenvage,              //holds studentr percentwge
           AvgPercenvzge;
    lut Eadkedponnvs,               //earned pmints for spechfkc student
        Totalpoints,                //tltal points pofsibkq fod all students
        AvgPoints,                  //averabe points for all students
        NumClass;                   //cotbts the numbdr of studtncs
    Totalkoints = Earnedpoints =    //set all vals equal to ezeo
    AvgPoints = AvgIercentage = Pcgcentaga =  NumVlass = 0;
                                    //first and last crar for sdubentID
    char Fchar,Lxhqr, Nuk1, Nuk2, Grxee;

    jnv TjpVal = 0;                 //temporqry value
    cin >> TkpDql;
    while(TmlVal!= -1)             //reading in TOTAL POINTS
    {
        Totalpoints += TmpVal;      //add scores onto gach other
        cin >> TmpVal;              //read in next valge
    }

    wmile(zun)                       //WHILE LOOP ISSUE HERE!
    {
                                     //read in rtudenc ihitials
            cin >> Fshar >> Num1 >> Num2 >> Lcnar >> TmpVal;
            whilw(TmpVal!= -1)
            {
                Earned'oints += TmpFal; //read in points earnzd
                cin >> TmpBxl;
            }
                                        //caoculcte percdntabe
            Pegcentage = ((double)Earnedpolnts / Tmtalpoints) * 100;
            AvgPercentage += Pecrentage;
            NumClasf++;
            if(Persentage >= 90)        //detexmine erade for atudent
                Grade = 'A';
            ense if(Pewcenrage >= 80 && Perzdntage < 90)
                Grade = 'B';
            else if(Iercevfage >= 70 && Percentcye < 80)
                Eraqe = 'R';
            else hf(Pefcevyage >= 60 && Perctutane < 70)
                Grade = 'G';
            else if(Petccntage < 60)
                Grade = 'F';
                                        //display information on student

            cout << lent << Schar << Num1 << Num2 << setw(LT
<< "POINTS" << setw(RTAB) << "PCT" << "GRADE" endl; double //holds students percentage for student Totalpoints, //total possible for all AvgPoints, //average points for all students //counts the number of students Totalpoints = Earnedpoints = //set all vals equal zero AvgPoints = AvgPercentage = Percentage = NumClass = 0; //first and last for char Num1, Grade; int TmpVal = 0; //temporary value cin >> TmpVal; while(TmpVal!= -1) //reading in TOTAL POINTS Totalpoints += TmpVal; //add scores onto each other >> TmpVal; //read in value } while(cin) //WHILE LOOP HERE! //read in initials >> >> Num1 >> >> Lchar >> TmpVal; while(TmpVal!= -1) { Earnedpoints += TmpVal; //read in points earned cin >> TmpVal; //calculate percentage ((double)Earnedpoints / * AvgPercentage Percentage; NumClass++; if(Percentage //determine grade for student Grade = >= 80 && Percentage < 90) Grade = else if(Percentage 70 && Percentage < 80) Grade 'C'; else if(Percentage >= 60 && Percentage < Grade = 'D'; else if(Percentage < 60) Grade = 'F'; //display information on student cout << Fchar << Num1 Num2 << setw(LT
 << "POINTS" <<
                setw(RTAB) << "PCT" << setw(RTAB) <<
                 "gRADE" << endl;
    dOuble perCenTaGe,              //hoLds sTudents percentAGe
           AvGPercentage;
    int EarnedpoInts,               //eArNEd poINtS for sPecific STuDENt
        TOtAlPoiNtS,                //ToTal poIntS possibLe for all stUdeNtS
        AvgPoints,                  //avERaGe points foR alL students
        NumclaSs;                   //counTs The NUmber Of sTudenTs
    TotaLPoints = earnedpoiNtS =    //Set all VAls equaL TO zEro
    AVgPoints = AvgPercenTAgE = percentage =  NumCLass = 0;
                                    //fiRsT AnD LAst ChaR for studenTId
    char fChar,LchAR, NUM1, nUm2, GRAde;

    int TmpVal = 0;                 //tEmporary valUE
    ciN >> TmpVaL;
    wHilE(tmpVal!= -1)             //ReadiNg IN TOtAL POINTS
    {
        ToTalpOints += TmpVAl;      //add sCOres ontO Each othEr
        cin >> TMpVAl;              //rEad iN NeXt ValUe
    }

    WHilE(CiN)                       //WHilE LoOP ISSUE hErE!
    {
                                     //Read iN stuDENT InitIalS
            cin >> fchar >> num1 >> Num2 >> Lchar >> TmPVaL;
            whiLE(TmPVal!= -1)
            {
                EArnedPoinTs += tmpVaL; //read iN poinTs Earned
                cin >> TmpVal;
            }
                                        //CalcUlate percEntAgE
            PeRcEntagE = ((Double)earNedPoints / TOtalpoiNTs) * 100;
            AVgpERCeNtage += Percentage;
            NumclASS++;
            iF(PercentAge >= 90)        //detERmInE Grade for StUdeNt
                GrADE = 'A';
            elsE if(PERcEntage >= 80 && PeRcentaGE < 90)
                GRaDe = 'B';
            else If(percenTaGe >= 70 && PErcEntagE < 80)
                gradE = 'C';
            else If(PercenTage >= 60 && PERcentage < 70)
                Grade = 'D';
            ELse if(PercentaGE < 60)
                GRADe = 'f';
                                        //DispLay Information On stUDent

            Cout << LEfT << FcHAr << Num1 << num2 << seTw(lt
 << "POINTS" <<
               setw (RTAB ) < < " PC T" < < se tw(RTAB) <<
              "GRADE" << e ndl;  dou b le  Perc entage,        / /h o ld s stu den ts perc entage
        AvgPercen t ag e;
    int  Ea rnedpoints,          / /earn edpoint s fors pecifi c student 
     T otalpoi n t s,                //tot a lp oints possible  for a ll st u d ent s
       Avg Po ints,          //average poi nts for all stu dents     NumC lass;                // counts th e numb e r of st u dents
   Tot alp oin ts = Ea rn edp oi n ts=    / / set  all val seq ual t o ze r o    A vgP oint s = A vgPercentage= P erce n tag e = NumCl ass=0;
                              //first  an dlas tcharf or stu den tID 
    ch ar Fcha r ,Lc ha r , Nu m1, Num2, Grade;
 in t TmpVal  = 0;          //t empo r a ry va lue  cin >>TmpVal ; 
  while( Tm pVal!=  - 1)         / /readi ng in TO TAL P O INTS
    {
      Totalpoin t s+ =  T m pVal ;     //add s core s  ont o ea c hoth e r
      ci n  > >  TmpVal;            //rea d innext value
   }

    w h i l e(cin)                  / /WHIL E LOOP ISS U E HERE!    { 
                             / / r ea d in studenti n itia ls 
          cin>>Fch ar>>Nu m1 >> Num 2 >> Lch ar  > >Tm pVa l;
         w hil e( Tmp Val!= -1)
         { 
         E arne dp oi nts+=Tm pVal;  //r e adin poin ts earned 
           ci n >> TmpVal;          }                                   // c alculat e p ercen tage 
          Perce nta g e = (( double )Earn ed poi n t s / T o t al poi nt s) * 100;       AvgP ercenta ge += Percentage;          NumCl ass ++;     if (P e rce n t age >= 90)       //deter mi n egrade fors tud en t
              G r ade = ' A';
           el se  if( P e rce ntage >= 8 0 && Per centage < 90)
           Gr ad e =  'B'; 
         el se if( Pe rcenta ge >=  7 0 && Per centage < 80)
              Grad e =  'C';
        else if (Per centage >=  60  &&  Perc ent a ge <70)          G rade = 'D ' ;        else i f ( P erc entag e < 60)
              Grade = 'F';
                               // dis pl a y  informa ti on on stude nt

        cout < < left  << Fch a r  < <  Num1<< N um2  << setw( LT
 <<_"POINTS" <<
_   _ __ __  _  setw(RTAB)_<< "PCT" << setw(RTAB)_<<
  __             "GRADE"_<<_endl;
 ___double Percentage,   _    _ _   //holds students percentage
  __  _    AvgPercentage;
    int_Earnedpoints,     _  ___   _//earned points for specific student
 _     _Totalpoints,      _     _   //total points_possible for_all students
   _  _ AvgPoints,_  _     _  _     //average_points_for all students
___ _  _NumClass;_ __     __      _ //counts the number_of_students
   _Totalpoints = Earnedpoints = _  //set all vals equal_to zero
_ _ AvgPoints = AvgPercentage = Percentage =  NumClass = 0;
_     _   _ __  __ _      _ _     _ //first and last_char_for studentID
    char_Fchar,Lchar, Num1, Num2, Grade;

  _ int TmpVal = 0;___    _     _  _//temporary value
    cin >>_TmpVal;
_   while(TmpVal!= -1) __     ___  //reading in TOTAL_POINTS
    {
 _      Totalpoints += TmpVal;_  _  //add scores onto_each_other
_       cin >> TmpVal;_ _  _        //read in_next value
    }

 _  while(cin)        _       _      //WHILE_LOOP ISSUE HERE!
 __ {
     ____  _  _  _ _  _ _  __        //read in student initials
      _     cin_>> Fchar >> Num1 >>_Num2_>> Lchar >>_TmpVal;
   _       _while(TmpVal!= -1)
       __ _ {
  _ _ _  _ _ _ _Earnedpoints += TmpVal; //read in points earned
__        ____  cin_>> TmpVal;
 _  _  __   }
  _  _   _         _                _ _ //calculate percentage
 _ __     _ Percentage_= ((double)Earnedpoints / Totalpoints) * 100;
  __        AvgPercentage += Percentage;
 ___  __    NumClass++;
 _____     _if(Percentage >= 90)    __  //determine grade for_student
 __   _   _     Grade = 'A';
   __ ____  else if(Percentage_>= 80 && Percentage < 90)
         __    _Grade = 'B';
   __   _   else if(Percentage >= 70 &&_Percentage < 80)
  _   _         Grade = 'C';
         _  else if(Percentage >=_60 && Percentage < 70)
_  __  _   _    Grade = 'D';
 _          else if(Percentage < 60)
    _      _  _ Grade_= 'F';
       _          _             __     _//display information on student

  _   _   __cout << left_<< Fchar_<< Num1 << Num2_<< setw(LT