class Review { public static void main(String[] args) { //Q: list datatypes - int int a, b, c; double x, y, z; String s1, s2; boolean go = true; // initialization // assignment: = a = 12; b = 7; c = 50; x = 1.1; y = 1.2; z = 1.3; s1 = "VWC"; s2 = "USA"; // == != > >= < <= //Q: if go is true, make s1 be s2. Otherwise, make s2 be s1. if(go) s1 = s2; else s2 = s1; //Q: if a is greater than y, let s1 be s2. O, let s2 be s1. if(a > y) s1 = s2; else s2 = s1; // for, while // Q: sum up 15 for 15 times, output the result (15 + 15 + .. + 15) int sum = 0; //for(int i=0; i<15; i++) // sum += 15; //Q: sum up y value for a times: 1.2 + 1.2 + ... + 1.2 double sum1 = 0; // for(int i=0; i