Codington
0 of 10 problems solved • 0%
Use in a course

Exercise prompt

Repair a Group Booking

The starter should charge every passenger both a ticket price and a booking fee. Instead, it adds the fee only once and displays 65.

Your task

Repair the calculation so three passengers each pay 20 + 5 and the console displays:

Booking total: 75

Add one pair of parentheses. Do not change the variables, numbers, or operators.