[Solved] CSCI203 Lab2

$25

File Name: CSCI203_Lab2.zip
File Size: 113.04 KB

SKU: [Solved] CSCI203 Lab2 Category: Tag:
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().

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] CSCI203 Lab2
$25