import java.util.*;
import java.lang.*;
import java.io.*;

// The main method must be in a class named "Main".
class Main {
    public static void main(String[] args) {
        //System.out.println("Hello world!");
        int[] a = new int[3] ;
        int x= 10;
        for (int i=0;i<a.length; i++) {
            a[i] = x;
            System.out.println(a[i]);
            x= x+10;
            
        }
        
    }
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: