// File: student.h
// Header file for class Student
// This class represents the information about a student in a class
// ----------------------------------------------------------------------
// Class: CS 210                     Instructor: Drs. Hwang & Roberts
// Assignment: In-class exercise for 4/4/07 & 4/5/07
// Programmer(s): <fill in your name (s)>

#ifndef STUDENT_H_
#define STUDENT_H_

#include<iostream>
#include<string>
#include<vector>
using namespace std;

class Student
{
   public:
      // Constructors
      Student();
      Student(const string & name, const vector<double> & scores);

      // Accessors
      string Name() const;
      double AverageScore() const;
      char LetterGrade () const;

      // Operators
      friend bool operator==(const Student & left, const Student & right);
      friend bool operator>(const Student & left, const Student & right);

      // I/O - add prototypes for friend operator>> and operator<<

   private:
      string name;             // student name
      vector<double> scores;   // student scores
      double average;          // student's average score
      char grade;              // student's grade
};

#endif
