can some1 help me wid diz?!
import java.io.*;
public class looping1{
public static void main(String args[])throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader (System.in));
int value = 1;
for (int i = 1; i<=11;i++ ){
System.out.println(value);
value = i + value;}
}}
the output should be:
1
2
4
7
11
16
32
39
47
56
66