level03.lesson04.task05

asked 04 Apr, 13:48

xnopino's gravatar image

xnopino
112
accept rate: 0%


   int b, c, d;
  b=0;
  c=10;
  for(int x=1; x<=c; x++)
  { 
  d=x+b;
  System.out.println(d);
 b=d;
  }
link

answered 04 Apr, 13:49

xnopino's gravatar image

xnopino
112
accept rate: 0%

    int a=0;
    for(int i=1;i<=10;i++){
    a+=i;
    System.out.println(a);
    }
link

answered 17 Nov, 04:55

Petr%20Miroshnik's gravatar image

Petr Miroshnik
1
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 04 Apr, 13:48

Seen: 293 times

Last updated: 17 Nov, 04:55

Related questions