a) Create a function, newPrice(), that takes the number of nights and the type of room as parameters, calculates and returns the price to pay. You do not have to validate these parameters.
You must use either:
• OCR Exam Reference Language, or
• a high-level programming language that you have studied
[4]