Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class TheMatrix {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- StringBuilder input = new StringBuilder(scanner.nextLine());
- String command;
- while (!" ".equals(command = scanner.nextLine())) {
- String[] type = command.split("");
- switch (type[0]) {
- case " ":
- break;
- case " ":
- break;
- case " ":
- break;
- }
- }
- System.out.println("" + input);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment