[SOLVED] CSCI203 Lab2-Stack data structure that store integer data values

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon CSCI203_Lab2-oedxpa.zip (786.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
πŸ”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)
  • To practice solving problems using stack
  • To be able to manipulate stack
  • To practice writing solutions to problems in a clear and succinct way

Β Problem

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
  2. Delete items
  3. Show the number of items
  4. Show min and max items
  5. Find an item
  6. Print all items
  7. 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().

Β 

 

  • CSCI203_Lab2-oedxpa.zip