Lesson 2: Flow control - Practice Exercises Java Share Now: Exercises: 1 Positive and negative 2 Multiply if not zero 3 Divide if not zero 4 Divide if not zero (using "else") 5 Greatest of three numbers 6 Repeat until 0 7 Repeat until 0 (do-while) 8 While + counter 9 Times table 10 Odd numbers, descending 11 Sum numbers 12 Two negatives 13 One or two negatives 14 Multiples 15 Number repeated 16 Password 17 Password 18 Many divisions 19 Several mutiplication tables, do-while 20 Square 21 Break & continue 22 Rectangle 23 Repetitive structures 24 Digits in a number 25 Hollow square 26 Product 27 Absolute value 28 Hollow rectangle 29 Statistics 30 Switch 31 Conditional operator, positive & smaller 32 Prime number 33 Conditional operator 34 Give change 35 Exceptions Lessony 2