Code:
Vector v = new Vector();
Vector n = new Vector();
System.out.print(" ");
w = input.nextInt();//this is for receiving the width
System.out.print(" ");
h = input.nextInt();//this is for receiving the height
v.addElement(w);
n.addElement(h);
Please Help!!...