a travel agent is planning a week-long ski trip for students at a local university.the price is $450per person unless the number ofpersons signing up for exceeds 150. in this case, the package price for all persons is reduced by $2.50 for each persons for exceeds of 150. determine the function p=f(n).
Answers
Answered by
2
Since, n has 2 ranges, namely 0-150 and 150+. So, 2 functions depending on n will be created.
p = 450 * n if (n <= 150)
(450-2.5) * n if (n > 150)
Similar questions