1 import java.util.Scanner; 2 public class 数字转化为ascii { 3 public static void main(String[] args) { 4 Scanner scanner=new Scanner(System.in); 5 int n=scanner.nextInt(); 6 for(int i=0;i<n;i++) { 7 int text_num=scanner.nextInt(); 8 char text=(char)text_num; 9 System.out.print(text); 10 } 11 } 12 }
数字转为ASCII
猜你喜欢
转载自www.cnblogs.com/kongchung/p/9729237.html
今日推荐
周排行