You are on page 1of 9

Data Structures Practical Practical #4

Name Atharva kulkarni Roll Number 20303C0033


Subject/Course: Data Structures Class SY BSc. IT
Topic Array Implementation of Stack Division C

List Various Applications of Stack Data Structure

Array Implementation of Stack

Vidyalankar School of Information Technology


Write a C++ for array implementation of stack data structure with push, pop, peek and display
operations
Program Screenshot :
Output Screenshot :

Take Home Assignment Question


Modify C++ program; array implementation of stack data structure to push, pop and peek
employee objects.
Design an Employee class for reading and displaying the employee information (employee ID
and employee name), with the getInfo() and displayInfo() methods respectively.
Program Screenshot :
Output Screenshot

You might also like