According to your code, you are setting the first element of the customerAges list as your baseline age. You then use a for loop to check each item in the list to see if it is less than your minimum variable. Then you assign the item to the minimum.
The missing line of code is b, if minimum > item:
I hope this helps!
Steve jobs designed the first apple computer
Answer:
true
Explanation:
certain file formats can only be used to it's own operating system
Answer:
Scanner keyboard = new Scanner(System.in);
double discount = 0;
double productPrice;
double subTotal;
double salesTax;
double saleTotal;
System.out.printf("Enter the purchase amount:");
productPrice = keyboard.nextDouble();
if (productPrice > 10) {
discount = 10;
}
System.out.println( + discount + "% discount applied.");
subTotal = (productPrice);
salesTax = (subTotal * 0.14);
saleTotal = (subTotal + salesTax - discount );
System.out.printf("Subtotal: $%5.2f\n", subTotal);
System.out.printf("Discount; -$%5.2f\n", productPrice - discount);
System.out.printf("HST: $%5.2f\n", salesTax);
System.out.printf("Total: $%5.2f\n", saleTotal + salesTax);
}
}
Explanation:
Turn it off then turn it back on