section B的 呵呵
还有 第二题怎么做啊??
Question 2. Read in an integer (digit) between 0 and 9 from keyboard. Write a program to get the following output if the integer is 8 (if the integer is, for example, 7, then all the 8’s in the following will be changed to 7):
88888
8888
888
88
8
Restrictions:
• Have to use for loop.
• Can not use many “System.out.println” to get the output.