Hi,
the program files that i have attached, when compiled runs fine except i get this huge error on the last exception that is caught...any ideas as to where i went wrong?
the output goes :
2
1
1
0
Stack if empty.
9
10
2.1
10
and as it tried to execute the last line i get this debug assertion failed error.
This is the correct output
2
1
1
0
Stack if empty.
9
10
2.1
10
Stack if full. Can hold only 10 elements