#include <stdio.h>
#include <stdlib.h>
#define STACKMAXSIZE 10
typedef struct seqstack{
int data[STACKMAXSIZE];
int top;
}SeqStack;
int initSeqStack(SeqStack*);
int destroySeqStack(SeqStack*);
int clearSeqStack(SeqStack*);
int isEmptySeqStack(SeqStack);
int getTop(SeqStack);
int PushSeqStack(SeqStack*, int);
int PopSeqStack(SeqStack*);
int lengthSeqStack(SeqStack);