0

Getting multiple outputs

I need help getting multiple outputs. import java.util.Scanner; public class ThreePoint { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Enter the numer before your Birth Month: "); int month = input.nextInt(); String[] player= {"Drummond","Howard","Durant","Paul","Curry","James", "Jordan","Beiber","Hart", "Embid", "LaVine", "Davis"}; System.out.println(player[month % 12]); }

30th Apr 2018, 10:10 AM
Antonio Ramirez
Antonio Ramirez  - avatar
1 ответ
0
What do you mean? The description is made for further explanations, not only code.
17th May 2018, 4:13 AM
Eldar Bakerman