STACK USING QUEUE

Error

There were 2 mistakes in your code:

  1. in line 22 pop function does not take any parameter
  2. line 68, s.rmv() also needs to be the part of while loop
    Corrected code:
    https://ide.codingblocks.com/s/369999