/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package petzoogarden; import java.util.Arrays; /** * * @author jcmt */ public class ArrayManipulations { /* public static void main( String[] args) { double[] dArray = {8.4, 9.3, 0.2, 7.9, 3.4}; Arrays.sort(dArray); System.out.printf("\ndArray: "); for (double v:dArray) { System.out.printf("%.lf", v); } } * */ }