Arrays of Objects 49 import java.util.Scanner;
{"Image DocumentName": "Arrays of Objects 49 import java.util.Scanner;", "Image ImageDescription": "public class SalesClerksDriver. { public static void main(String[] args) Scanner stdIn = new Scanner(System.in); SalesClerks clerks = new SalesClerks(2); String name; System.out.print( Enter clerk s name (q to quit): ); name = stdIn.nextLine(); while (!name.equals( q )) System.out.print( Enter sale amount: ); clerks.addSale(name, stdIn.nextDouble()); stdIn.nextLine(); // flush newline. } // end while. clerks.dumpData(); } // end main. } // end SalesClerksDriver.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}