Stack: Difference between revisions

25 bytes added ,  16 years ago
Operations phrasing changed slightly.
(+D)
(Operations phrasing changed slightly.)
Line 4:
Create a stack supporting the basic operations:
 
* push - addAdd an element to the stack.
* pop - removeRemove lastthe most recently added element.
* empty - returnReturn a truelogical value True if the stack is empty, falseFalse otherwise.
 
=={{header|Ada}}==
Anonymous user