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
0
Answer:
ok
Explanation:
mark me as the brainliest
Similar questions
Hindi,
28 days ago
English,
28 days ago
English,
28 days ago
Environmental Sciences,
1 month ago
Social Sciences,
8 months ago