public static void main(String[] args) { Scanner rd;String str;do { System.out.println("请输入字符(长度小于100)");rd=new Scanner(System.in);str=rd.nextLine();} while(str.length() > 100);StringBuilder rts=new StringBuilder();for(int i=str.length(); i > 0; i--) {...