_s8

Untitled

_s8
Aug 8th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. class counter {
  2.     public static void main(String[] args) {
  3.         for (int startingNumber = 1; startingNumber <= 10; startingNumber++)
  4.         {
  5.             System.out.print(startingNumber + " ");
  6.            
  7.         }
  8.     }
  9. }
  10. // remember: you can always switch startingNumber and the number that it's supposed to get to anytime you want for different results!
Advertisement
Add Comment
Please, Sign In to add comment