Advertisement
Spocoman

09. Numbers from 1 to 10

Aug 26th, 2024
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. public class NumbersFrom1To10 {
  2.     public static void main(String[] args) {
  3.         for (int number = 1; number < 11; number++) {
  4.             System.out.println(number);
  5.         }
  6.     }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement