Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

User input (scanner)

int age = scanner.nextInt();
scanner.nextLine(); //Ez fogja az ottmaradt sorvége jelet beolvasni
        
String name = scanner.nextLine();
Source by github.com #
 
PREVIOUS NEXT
Tagged: #User #input
ADD COMMENT
Topic
Name
3+6 =