#include
#include
using namespace std;
int main()
{
deque dequeObject;
deque reversedQueue;
int i;
for(i = 0; i <10; i++)
dequeObject.push_back('A'+i);
cout << "Contents of dequeObject: ";
for(i = 0; i cout << dequeObject[i];
cout << endl;
while(!dequeObject.empty()) {
reversedQueue.push_front(dequeObject.front());
dequeObject.pop_front();
}
cout << "Contents of reversedQueue: ";
for(i = 0; i cout << reversedQueue[i];
return 0;
}