1     public static void main(String[] args){
 2         int N=100;
 3         PrinterN(N);
 4     }
 5 
 6     private static void PrinterN(int n) {
 7         for(int i = 0;i<=n;i++){
 8             System.out.println(i);
 9         }
10     }
循环打印

相关文章:

  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-11
  • 2021-05-26
  • 2021-10-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-01
  • 2021-10-15
  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-02-13
相关资源
相似解决方案