Computer Science, asked by harry3960, 1 month ago



import java.io.*;

public class d{

public static void main(String args[]) {

InputstreamReader read = new InputStreamReader(System.in);

BufferedReader in = new BufferedReader (read);

int t =Integer.parseInt(in.readLine());

int a =1;

for(int j=1;j<=t; j++){

String n=in.readLine();

String e=" ";String o=" for (int i=0;i<n.length();i++) {

if(i%2==0) {

e+=n.charAt(i);

}

else

0+=n.charAt(i);

}

System.out.println(e+" "+o);

20

}

}

}

Why the loop is not terminating????​

Answers

Answered by joker765
0

Answer:

ok

Explanation:

mark me as the brainliest

Similar questions