veronikaaa86

01. Numbers from 1 to 100

Jun 3rd, 2023
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.20 KB | None | 0 0
  1. package forLoops;
  2.  
  3. public class P01NumbersFrom1to100 {
  4.     public static void main(String[] args) {
  5.  
  6.         for (int i = 1; i <= 100; i++) {
  7.             System.out.println(i);
  8.         }
  9.     }
  10. }
  11.  
Add Comment
Please, Sign In to add comment