本帖最後由 tonyh 於 2020-8-6 17:44 編輯

上底7 下底4 高4 之 * 號排列而成的倒梯形- public class Ch22{
- public static void main(String args[])
- {
- for(________________)
- {
- for(________________)
- {
- System.out.print(" ");
- }
- for(________________)
- {
- System.out.print("*");
- }
- System.out.println();
- }
- }
- }
複製代碼 |