Java Java Objects Delivering the MVP Applying a Discount Code

i have used a for loop and i am getting an error "bad intialiser ". Where am i going wrong

please assist saying bad intialiser for (c:discountCode) {}

Maxwell Newberry
Maxwell Newberry
7,678 Points

Can you provide your code for reference?