Hi James, Thank you so much,but do you have any suggestion to my code?
This is the code on top of my forloop which i posted above.do you have any corrections?
public static void main(String...args)
{
InfixToPostfix s =new InfixToPostfix(20);
Object[] Infix;
Object[] postfix;
int count=0;
char ch='\u0000';
System.out.print("Enter infix: ");
String str =new java.util.Scanner(System.in).next();
Infix=new Object[str.length()];
postfix=new Object[str.length()];