///////
//
// Student: Russell Lowke
//     T.F: Francis Crick
// Unit Five, pencil-and-paper - question 2 [worth 4pts],  7/16/2002
//
//  Define data structures for the following (using arrays, classes, or whatever.. typedef)
//

a) word-processing program storing up to one hundred words.  Longest word is eight chars

const int SMALLWDLEN = 8;
const int MAXWORDS = 100;
typedef char smWords[SMALLWDLEN + 1];
typedef smWords wdList[MAXWORDS + 1];


b) Monthly rainfall for the years 1989-1999

const int YRSFROM89 = 10;
const int MONTHS    = 12;
typedef double monthlyRain[MONTHS + 1];
typedef monthlyRain year[YRSFROM89 + 1];


c) date of birth, social security number, sex, and marital status for 100 people


class Person
{
	 private:
		
		int birthMonth;
		int birthDay;
		int birthYear;
		int socSec;
		bool sex;
		bool maritalStatus;
		
      public:
  
};

Person people[100];

d) data structure for weather statistics: date; city and state; province or country; 
   time of day; temperature; barometric pressure; weather

const int MAXSTR = 80;
enum  weatherCond { clearSkies, partlyCloudy, cloudy, stormy, sunny }

class WeatherStats
{
	 private:
		
		char        country[MAXSTR];
		char        city[MAXSTR];
		char        state[MAXSTR];
		int         dateDay;
		int         dateMonth;
		int         dateYear;
		char        province[MAXSTR];
		int         timeHours;			// 24 hour time
		int         timeMins;
		int         timeSeconds;
		double      temperature;
		double      barometricP;
		weatherCond weather;
		
      public:
  
};