Infix to Postfix

this is same as spoj prgm with slight modifications