/* Program 6.1.1 from C++ Programming Lecture notes  */

/* Author: Rob Miller and William Knottenbelt
   Program last changed: 30th September 2001    */

/* This program allows the user to enter a series of values into an array. */ 

#include <iostream>
using namespace std;

const int NO_OF_EMPLOYEES = 6;
typedef int Hours_array[NO_OF_EMPLOYEES];

int main()
{
	Hours_array hours;
	int count;
	
	for (count = 1 ; count <= NO_OF_EMPLOYEES ; count++)
	{
		cout << "Enter hours for employee number " << count << ": ";
		cin >> hours[count - 1];
	}
	
	return 0;
}
