Menu

(Solved) : 10 Buffet Restaurant Charges Customers According Ages Person Less 12 Years Old Cost 05 Mul Q32357854 . . .

10. A buffet restaurant charges their customers according to their ages. If a person is less than 12 years old, the cost is $0.5 multiplied by the age. If the person is at least 12 years old but no more than 65 years old, the cost is $8.0. For a senior who is more than 65 years old, they charge $7.0. Translate the rules above into C++ statements to determine cost according to age.

10. A buffet restaurant charges their customers according to their ages. If a person is less than 12 years old, the cost is $0.5 multiplied by the age. If the person is at least 12 years old but no more than 65 years old, the cost is $8.0. For a senior who is more than 65 years old, they charge $7.0. Translate the rules above into C++ statements to determine cost according to age. Show transcribed image text

Expert Answer


Answer to 10 Buffet Restaurant Charges Customers According Ages Person Less 12 Years Old Cost 05 Mul Q32357854 . . .

OR