public class Sale1 {
public static void main(String[] args) {
double prices[]={1.0, 1.0, 1.0, 1.0};
double sale[]=prices;
for (int i=0; i< sale.length; i++){
sale[i] = sale[i]/2;
}
System.out.println(sale[2]);
System.out.println(prices[2]);
}
}
//