UNB/ CS/ David Bremner/ teaching/ old/ cs1083/ java/ Sale2.java
public class Sale2 {
    public static void main(String[] args) {
        double prices[]={1.0, 1.0, 1.0, 1.0};
        double sale[]=prices.clone();
        
        for (int i=0; i< sale.length; i++){
            sale[i] = sale[i]/2;
        }    

        System.out.println(sale[2]);
        System.out.println(prices[2]);
    }
}
//