public class studis { public static void main(String[] args) { double[] mylist=new double[]{1.9,2.9,3.4,3.5}; for(double i:mylist) { System.out.println(i); } } }