Assignment 2 : Due Tuesday, July 25

General Rules:


1. Program must be written in C++.
2. Must hand in source code, and "script" of program runs.
3. Grades discounted 10% per day late.

Project Description:


Your assignment is to write a small program which does the following:

1. Reads in a file of integers (appx 80-100)
2. Prints them out in their original order
3. Prints them out in reverse order

However, your program must do this using a layered
data type implementation.  Specifically:

1.  Build an implementation of the data type
	stack discussed in class.
2.  Using the stack type (and making no references
	to its implementation or arrays or pointers)
	build an implementation of the DEQ type
	discussed in class.
3.  Write the program using only the DEQ operations
	to manipulate the integers.