本帖最後由 鄭繼威 於 2022-10-15 11:40 編輯

提示
上底7 下底4 高4 之 * 號排列而成的倒梯形- public class Ch22{
- public static void main(String args[])
- {
- //樓層
- for(________________)
- {
- //空格
- for(________________)
- {
- System.out.print(" ");
- }
- //*
- for(________________)
- {
- System.out.print("*");
- }
- System.out.println();
- }
- }
- }
複製代碼本帖隱藏的內容需要積分高於 1 才可瀏覽 |