fork download
  1. public class Main {
  2.  
  3. public static void main(String[] args) {
  4. String meme = "WEWLAD";
  5. char wew;
  6. for(int i=0; i<6; i++){
  7. wew=meme.charAt(i);
  8. System.out.print(wew + " ");
  9. }
  10. System.out.print("\n");
  11. for (int i=0; i<6; i++){
  12. wew=meme.charAt(i);
  13. System.out.println(wew);
  14. }
  15.  
  16. }
  17.  
  18. }
Success #stdin #stdout 0.1s 320512KB
stdin
Standard input is empty
stdout
W E W L A D 
W
E
W
L
A
D