Getting multiple outputs | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
0
What do you mean? The description is made for further explanations, not only code.
17th May 2018, 4:13 AM
Eldar Bakerman