Advertisement
veronikaaa86

01. Numbers from 1 to 100

Mar 19th, 2022
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 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