where is the problem ?
wait for your solution online!!
thanks you!!
package zh.codegym.task.task07.task0703;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
寂寞数组之间的互动
*/
public class Solution {
public static void main(String[] args) throws Exception {
//在此编写你的代码
String[] s = new String[10];
int[] n = new int[10];
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
for(int i = 0; i < s.length; i++){
s[i] = reader.readLine();
}
for(int i = 0 ; i < s.length; i++){
n[i] = s[i].length;
System.out.println(s[i]);
System.out.println(n[i]);
}
}
}