Content added Content deleted
|
|
Line 300: |
Line 300: |
|
<lang java>import java.util.Scanner; |
|
<lang java>import java.util.Scanner; |
|
|
|
|
|
|
public class GetInput { |
⚫ |
Scanner stdin = new Scanner(System.in); |
|
|
|
public static void main(String[] args) { |
⚫ |
String string = stdin.nextLine(); |
|
|
⚫ |
Scanner stdin = new Scanner(System.in); |
⚫ |
int number = stdin.nextInt(); </lang> |
|
|
⚫ |
String string = stdin.nextLine(); |
|
⚫ |
int number = stdin.nextInt(); |
|
|
} |
|
|
}</lang> |
|
|
|
|
|
=={{header|JavaScript}}== |
|
=={{header|JavaScript}}== |