// Q1: output 10 lines of "How are you?" for(int i=0; i<10; i++) System.out.println("How are you?"); // Q2: declare a string array StrArray that can hold 100 elements? String[] StrArray = new String[100]; // Q3: Let the last one be "VWC"? StrArray[99] = "VWC"; // Q4: let the 50th one be "White House"? StrArray[49] = "White House"; // Q5: Read the 3rd from the keyboard? Scanner kb = new .... StrArray[2] = kb.nextLine(); // Q6: Output the 1st to the monitor? System.out.println(StrArray[0]); // Q7: Read the users' name, then out "Hi xxx xxxx"? String name = kb.nextLine(); System.out.println("Hi " + name); // Q8: Read two real numbers and out their difference? double x = kb.nextDouble(); double y = kb.nextDouble(); System.out.println(x-y); // Q9: Given the three reals and assign the biggest to max? double x1, x2, x3, max; max = x1; if(max < x2) max = x2; if(max < x3) max = x3; // Q10: Given the following array: double[20] x = new double[20]; .... double sum = 0; Write the code segment to sum all elements of x and assignment to sum? for(int i=0; i<20; i++) sum += x[i];