//Programmer: Bo Bayles  Date: 30 November 2004
//File: lab14.cpp        Class: CS54 C
//Purpose: This program demonstrates the usage of the
//  Stack class by using the push and pop functions with
//  various data types.

#include "Stack.h"
#include <iostream>
using namespace std;

int main()
{
  Stack<float> newStack;
  //Declare a new Stack object.

  newStack.push(4.01);
  newStack.push(5.01);
  //Push two floats onto the stack.

  cout << newStack.pop() << endl;
  cout << newStack.pop() << endl;
  cout << newStack.pop() << endl;
  //Pop off the stack three times, output the return value.

  return 0;
}

