الرجوع
تسجيل الدخول

What is the output of the following code?

double[] prices = {9.99, 19.99, 29.99, 39.99};
double sum = 0;

for (int i = 0; i < prices.length; i++) {
    sum += prices[i]; 
}

System.out.println(sum);
    }
}