Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. 1: public class ForTest {
  2. 2: public static void main (String args[]) {
  3. 3: for (int i=0; i < 5; i++ ) {
  4. 4: if (i==0) System.out.println ("i heeft de waarde "+i);
  5. 5: if (i > 0) System.out.println("plus 1 is "+i);
  6. 6: if (i == 4) System.out.println("Aan het einde van deze lus heeft i de waarde "+i);
  7. 7: }
  8. 8: }
  9. 9:}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement