解题思路:
注意事项:
参考代码:
import java.util.Scanner;
public class Main {
public static void Ascll(String str,String str1){
String[] array = str.split(" ");
String[] array1 = str1.split(" ");
for(int i=0;i<array.length;i++){
int[] arr = new int[array.length];
char[] arr1 = new char[array.length];
arr[i] = Integer.valueOf(array[i]);
arr1[i] = (char)arr[i];
System.out.print(arr1[i]);
}
for(int i=0;i<array1.length;i++){
int[] arr = new int[array1.length];
char[] arr1 = new char[array1.length];
arr[i] = Integer.valueOf(array1[i]);
arr1[i] = (char)arr[i];
System.out.print(arr1[i]);
}
}
public static void main(String[] arg){
Scanner sc = new Scanner(System.in);
String str = sc.nextLine();
String str1 = sc.nextLine();
Ascll(str,str1);
}
}
0.0分
0 人评分
矩形面积交 (Java代码)浏览:1281 |
C语言训练-斐波纳契数列 (C语言代码)浏览:1270 |
C语言程序设计教程(第三版)课后习题6.3 (C语言代码)浏览:543 |
成绩转换 (C语言代码)浏览:1048 |
WU-蓝桥杯算法提高VIP-企业奖金发放 (C++代码)浏览:1266 |
C二级辅导-公约公倍 (C语言代码)浏览:537 |
Pascal三角 (C语言代码)浏览:707 |
链表数据求和操作 (C语言代码)浏览:1035 |
C二级辅导-等差数列 (C语言代码)浏览:831 |
简单的a+b (C语言代码)浏览:691 |