解题思路:
注意事项:
参考代码:
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int s = in.nextInt(); System.out.println(Integer.toHexString(s).toUpperCase()); in.close(); } }
0.0分
0 人评分