*sigh* I'm having a hard time for this ..
C Programming please ..
Problem 1 : Create a program to test the package for the ADT stack
INPUT : Commands entered by the user
OUTPUT : List of commands and messages describing the effects of each command.
SAMPLE OUTPUT :
Use the ff. commands to test the ADT Stack .
C - Create a stack
D - Dump the stack
E - Test whether the stack is empty
F - Check if operation failed ( show StackError )
H - Prints the list of commands
PO - Pop an element of the stack
PU - Push an item onto the stack
Q - Quit Testing
Command : C
-> Stack Created
Command : E
-> Stack Empty? True
- - - - - - - - - - - - - - - -
Problem 2 : Create a program that will output a base-ten representation to a base two representation using stack data structure.
I need your help people .. T_T