Advertisement
thenewboston

Java Programming Tutorial - 22 - for Loops

Aug 22nd, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.16 KB | None | 0 0
  1. class apples{
  2.    public static void main(String args[]){
  3.       for(int counter=6;counter<=21;counter+=3){
  4.          System.out.println(counter);
  5.       }
  6.    }
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement