Please help me in the below program
Write a class named 'Stack" that has two methods named 'push' and 'pop'. The class has the following members:
Member variables : int array []
int n ------------------------> size of the array
int top
Constructor : to initialize n, array and top.
Member methods : void push(int value) ---> to push or insert value in array at index top.
void pop () ----> to delete value from top of array
void display () ---> to print the array
Urgent help needed....Please help!!!!!!!!!!!
Thanks in advance
Shakeel