Ask your own question, for FREE!
Computer Science 15 Online
OpenStudy (tasreeb):

here is an algorithm plz let me know its implemention PUSH(STACK,TOP,MAXSTK,ITEM) this procedure pushes an item onto a stack. 1.[stack already filled?] if TOP=MAXSTK,then:print:OVERFLOW,andReturn. 2.set TOP:=TOP+1.[incrases TOP by 1.] 3.set STACK[TOP]:=ITEM.[Insert ITEM in new TOP position.] 4.Return.

OpenStudy (anonymous):

using which language?

OpenStudy (tasreeb):

in c++.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!