Java开发网 |
注册 |
登录 |
帮助 |
搜索 |
排行榜 |
发帖统计
|
您没有登录 |
» Java开发网 » Java SE 综合讨论区
» 编程/算法/API
打印话题 寄给朋友 订阅主题 |
作者 | Re:我的解法 [Re:zhongbangxing] |
bashenxiutian
发贴: 1 积分: 0 |
于 2009-07-26 13:58
public class Test { public static void show(int n) { // 字母部分 char element = 'A'; for (int i = 1; i < n; i++) { System.out.print(i + "\t"); for (int j = 1; j <= i; j++) { System.out.print(element); } element++; System.out.println(); } // 数字部分 System.out.print("27" + "\t"); for(int i=0; i<=26; i++){ System.out.print(i%10); } } public static void main(String[] args) { show(27); } } JAVA学习日子分享 |
话题树型展开 |
人气 | 标题 | 作者 | 字数 | 发贴时间 |
49460 | 一道招聘笔试题 | zhongbangxing | 130 | 2007-05-18 15:17 |
42955 | Re:一道招聘笔试题 | aaarong | 547 | 2007-05-18 17:19 |
41626 | Re:一道招聘笔试题 | xiaoping8411 | 508 | 2007-09-18 19:27 |
33907 | Re:一道招聘笔试题 | yusilong860815 | 16 | 2008-10-06 16:14 |
43619 | Re:一道招聘笔试题 | Yang14 | 1068 | 2007-07-11 02:55 |
41635 | Re:一道招聘笔试题 | Yang14 | 1068 | 2007-07-11 02:56 |
41535 | Re:一道招聘笔试题 | dorrenchen | 712 | 2007-07-12 23:09 |
41300 | Re:一道招聘笔试题 | dorrenchen | 662 | 2007-07-12 23:13 |
41177 | Re:一道招聘笔试题 | wzymiller | 511 | 2007-07-21 22:30 |
39333 | Re:一道招聘笔试题 | long_5281 | 753 | 2007-11-08 16:32 |
39691 | Re:一道招聘笔试题 | weiyidexuan | 1057 | 2007-11-11 01:37 |
39128 | Re:一道招聘笔试题 | pubaolin | 316 | 2007-11-12 01:11 |
39165 | Re:一道招聘笔试题 | chaostring | 477 | 2007-11-12 18:17 |
39251 | Re:一道招聘笔试题 | chaostring | 730 | 2007-11-12 19:03 |
42874 | Re:一道招聘笔试题 | xatm092 | 213 | 2007-05-19 13:47 |
39305 | Re:一道招聘笔试题 | dnorange | 416 | 2007-11-13 22:25 |
31576 | Re:一道招聘笔试题 | jackieban | 287 | 2009-04-24 16:26 |
30783 | Re:一道招聘笔试题 | 楚狂人 | 465 | 2009-05-29 15:48 |
29499 | Re:我的解法 | bashenxiutian | 460 | 2009-07-26 13:58 |
42907 | Re:一道招聘笔试题 | informit | 357 | 2007-05-20 01:16 |
42978 | Re:一道招聘笔试题 | 133xialiang | 792 | 2007-05-24 09:56 |
41494 | Re:一道招聘笔试题 | Yang14 | 851 | 2007-07-11 03:00 |
30409 | Re:一道招聘笔试题 | sunny9527 | 840 | 2009-07-30 17:02 |
42711 | Re:一道招聘笔试题 | flying_sun | 716 | 2007-05-28 15:53 |
42507 | Re:一道招聘笔试题 | Jcat | 14 | 2007-06-01 10:35 |
42557 | Re:一道招聘笔试题 | simleebdg | 31 | 2007-06-01 11:40 |
42443 | Re:一道招聘笔试题 | 133xialiang | 40 | 2007-06-13 15:14 |
33506 | Re:一道招聘笔试题 | newfish | 120 | 2008-10-06 13:51 |
42206 | Re:一道招聘笔试题 | liangzi232004 | 8 | 2007-06-13 18:32 |
已读帖子 新的帖子 被删除的帖子 |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |