Advertisement
veronikaaa86

01. Numbers from 1 to 100

Jan 28th, 2023
695
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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement