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]); }
1 Resposta
0
What do you mean?
The description is made for further explanations, not only code.