importjava.util.Scanner;publicclassMain{publicstaticvoidmain(String[]args){Scannerscanner=newScanner(System.in);System.out.println("请输入一个英文句子:");Stringsentence=scanner.nextLine();scanner.close();String[]words=sentence.split(" ");StringBuilderreversedSentence=newStringBuilder();for(inti=words....