item++
System.out.println("You have selected" + item + "item with "
while(counter<4);
system.out.println(String.format("%3", total) )


You have no ; after item++


Your second line doesn't...