Given Stack is Integer Type , nut i need to put Character

given code of stack is of integer type , but i need to put charcater , this question can’t solve with integer stack ,
then why is given here??

Hey @Vipin_coder
Here you use your own stack