You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since most of their travels are unplanned they usually book the rooms for stay nearer to the locality they are going to visit.
4
+
Functional Description:
5
+
In most of the tourist places the room rent is 20% high during peak seasons [April and May].
6
+
Can you help them with the Room Rent Estimation Portal using flow control concept that provides the total rent to pay if the details such as Month,Room Rent and Total days of stay are provided?
7
+
Constraints:
8
+
1≤month≤12
9
+
500≤roomrent≤5000
10
+
1≤numofdays≤15
11
+
Input Format:
12
+
The first line of the input has a single integer which corresponds to the number of the month. [ Ex. January is 1, and March is 3].
13
+
The second line of the input has a single floating point number which corresponds to the room rent per day.
14
+
The third line of the input has a single integer which corresponds to the number of days stayed in the hotel.
15
+
Output Format:
16
+
Print the total room rent to be paid with two values after decimal point.
17
+
Refer sample testcases for Format Specification."""
0 commit comments