Letter Sample

Description

This program uses the default deque class, IDeque, to create a deque.  It fills the deque with characters by adding them to the back end.  The program then removes the characters from alternating ends of the deque (beginning with the front end) until the deque is empty.

Concept

This program is a sample to demonstrate the use of the default class IDeque.

Task

This program uses a deque to add elements at its back end and remove them from alternating ends.