请教一道简单的Java题

来源: 2006-12-12 14:17:38 [旧帖] [给我悄悄话] 本文已被阅读:

cmd的处理结果为:

hello 1回
hello 2回
hello 3回
hello 5回


注意:第4回不表示。

怎么做?

本人很菜,请大家帮忙,谢谢了