求java代码写,输入一个正整数N,输出他的转置,比如输入12345,输出就为...
public static void main(String[] args) {Scanner in =new Scanner(System.in);System.out.println("请输入正整数!");String aa=in.next();String [] b=aa.split("");String [] bb=new String[]{};List<String> list=new ArrayList<String>();for (int i = 0; i < b.length; ...