Advertisement
Guest User

Upr2

a guest
Sep 30th, 2014
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.18 KB | None | 0 0
  1. public class Cicle2 {
  2.  
  3.     public static void main(String[] args) {
  4.     int n = 0;
  5.     System.out.print(0+" ");
  6.     for(int i=1;i<10;i++){
  7.         n=n-5;
  8.         System.out.print(n+" ");
  9.     }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement