看我写的简单有效的屎山代码 import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str = sc.nextLine(); char c[] = str.toCharArray(); for(int i = 0; i<str.length() ; i++){ if(c[i]>='A'&&am...