Question 1 of 5
Contract: Input.readInt() reads the next integer the user types and returns it as int. Each call consumes one integer. Remembering Scanner method names is not required. A choir groups singers in threes.
(a) Write Java that stores the next typed integer in n, then prints trio if n is divisible by 3 and other otherwise. (b) If the user types 15, state the displayed text. (c) Give the remainder 15 % 3 and explain how it selects the printed word.