字母图形
来源:互联网 发布:leaflet.js 编辑:程序博客网 时间:2024/06/10 09:24
public class 字母图形 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int n = in.nextInt();
int m = in.nextInt();
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
System.out.print((char) ((int) 'A' + Math.abs(i - j)));
}
System.out.println();
}
}
}
0 0
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- 字母图形
- Distant Galaxy
- 怎样解题——探索法的介绍
- acm2006
- liunx学习
- 2015年2月13日服务器无法访问事故记录以及经验总结
- 字母图形
- 单身狗的2.14
- 为何魅族智能家居生态圈更值得期待
- OnInitialUpdate(单文档视图中的View类的成员函数)
- Java开发桌面程序SWING,设置主窗口位置居中一般使用下面的方法
- poj 450 Oulipo
- ubuntu下获得root权限及退出root权限
- 为什么要使用静态导入?静态导入的作用及使用
- Java_IO流_对String字符串的编解码