Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
svetlanasieber authored May 28, 2024
1 parent 5c6815a commit ad8f573
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import java.util.Arrays;
import java.util.Scanner;

public class P01_ConsumerPrint {

public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);

Arrays.stream(scanner.nextLine().split("\\s+"))
.forEach(System.out::println);
}
}

0 comments on commit ad8f573

Please sign in to comment.