Copy of Stacks
Copy of Stacks
Age - Integer
The output from the program should be: TOM ANU BOB OM
● Traverse the content of the list and push the even numbers
into a stack.
● Pop and display the content of the stack. For Example: If the
sample Content of the list is as follows:
N=[12, 13, 34, 56, 21, 79, 98, 22, 35, 38]