[SOLVED] CSCI203-Lab 2

20.99 $

Category:

Description

Rate this product

Write a program to create a Stack data structure that store integer data values. Your program should display a menu of choices to operate the Stack data structure. See the sample menu below:

==================================================

Stack  Operations Menu

==================================================

  1. Add items

 

  1. Delete items

 

  1. Show the number of items

 

  1. Show min and max items

 

  1. Find an item

 

  1. Print all items

 

  1. Exit

 

Enter your choice:1

 

Do not implement the stack with STL. The stack must be implemented using a fixed size array. The stack functions (i.e.  push(), top(), pop(), isEmpty() ) should be implemented below the main() and prototyped above the main().