Problem 32

3 comments on “Problem 32”


  • Rahul

    Java:
    import java.util.Scanner;
    public class Main
    {
    public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    String big = scan.nextLine();
    String[] splittting = big.split(“\\s”);

    for(String g : splittting){
    System.out.println(g);
    }

    }
    }