洛谷【P5704】字母转换java解法
作者:互联网
题目解析:
答案解析:
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String a = sc.next();
System.out.println(a.toUpperCase());
}
}
toUpperCase()直接小写变大写
标签:洛谷,String,System,toUpperCase,P5704,java,public,Scanner 来源: https://blog.csdn.net/qq_60899275/article/details/122424540