查看完整内容
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
System.out.println("请输入字符串");
String s = sc.nextLine();
int a =0;
int b = 0;
int d=0;
int e = 0;
char [] arr = s.toCharArray();
for (char c : arr) {
if(c>='a'&&c='A'&&c='0'&&c