請教一道簡單的Java題

來源: 2006-12-12 14:17:38 [舊帖] [給我悄悄話] 本文已被閱讀:

cmd的處理結果為:

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


注意:第4回不表示。

怎麽做?

本人很菜,請大家幫忙,謝謝了