第四章 没啥好说的......

 

4.1

 1 package ex0401;
 2 //[4.1]写一个程序打印从1到100的值
 3 
 4 public class PrintOneToHundred 
 5 {
 6     public static void main(String[] args)
 7     {
 8         for(int i = 1; i <= 100; ++i)
 9             System.out.print(i + " ");
10     }
11 }
4.1

相关文章:

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