Tips and Tricks

We will read the input data and do the calculations according to the provided price list and the discount rules, and finally print the result.

Processing the Input Data

According to the task requirements we expect to receive two rows of input data - on the first row the month in which the stay is planned, and on the second one - the number of stays.

Let's process and store the input data in the appropriate parameters:

results matching ""

    No results matching ""