私信TA
用户名:wangjingchen
访问量:1319
签 名:
自我简介:
作者: 王景琛 发表时间:2021-03-21 18:10:27 浏览:107 | 评论:0
解题思路:注意事项:参考代码:
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int n = sc.nextInt();
int a = 65;
String str = "";
for (int i = 0; i < n; i++) {
str = str +(char)a +str;
a++;
}
System.out.println(str);
0.0分
2 人评分
看不懂代码?想转换其他语言的代码? 或者想问其他问题? 试试问问AI编程助手,随时响应你的问题:
编程语言转换
万能编程问答
代码解释器
代码纠错
SQL生成与解释