Guest User

Untitled

a guest
Jan 22nd, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1.  
  2. public class Main {
  3.  
  4. /**
  5. * @param args
  6. */
  7. public static void main(String[] args) {
  8. int summe=0;
  9.  
  10. for(int i = 0; i <= 100; i++){
  11. summe=summe + i;
  12. System.out.println(summe);
  13. }
  14. // TODO Auto-generated method stub
  15.  
  16. }
  17.  
  18. }
Add Comment
Please, Sign In to add comment