  
|
[作業] continue
本帖最後由 鄭繼威 於 2022-11-26 10:52 編輯
利用 continue 語法, 直列顯示 50 ~ 500 間所有 5 的倍數.- public class Ch29
- {
- public static void main(String args[])
- {
- for(int i=50; i<=500; i++)
- {
- if(_______________)
- continue;
- System.out.println(i);
- }
- }
- }
複製代碼本帖隱藏的內容需要回復才可以瀏覽 |
|