View Code of Problem 77

import java.util.Scanner;
 
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
       String s =scan.nextLine();
      char[] c=s.toCharArray();
      System.out.print(c[0]+" "+c[1]+" "+c[2]+" "+c[3]);
           
    }
  
  
}

Double click to view unformatted code.


Back to problem 77