On now my Java program will give me list of all user input in [] these brackets. But what I want is to give me total all prices as noramally with out any brackets.
Please help me how do i do this?
public static void XalwoAmounts(ArrayList<Double> price){
for (int i = 0; i<price.size(); i++){
price.get(i);
}
System.out.println("All Totals are : "+ price);