Answered step by step
Verified Expert Solution
Question
1 Approved Answer
how to solve it? begin{tabular}{|l|l|l|l|} hline rID & ReservationType & Price Per night & Loyalty points per night hline 1 & Premium Rooms &
how to solve it?
\begin{tabular}{|l|l|l|l|} \hline rID & ReservationType & Price Per night & Loyalty points per night \\ \hline 1 & Premium Rooms & 800 SAR & 200 \\ \hline 2 & Villas & 2000 SAR & 500 \\ \hline 3 & ServicedApartments & 1500 SAR & 350 \\ \hline \end{tabular} The following provides an API for vour proiect classes. Sample Input Here is a sample input 1111145267SampleOutput12251226122712281229122510310310110110110210310310112132100920211009202122022022140220220901202232234AhmedSamehMohammadAhmedMohamedAhmedBaloshiAhmedBaloshiAhmedSamehMohammad For the above sample input, the following would be printed on the console. 2400 6100 2600 1229101090120214 Ahmed Sameh Mohammad 1225101100920217 Ahmed Sameh Mohammad \begin{tabular}{|l|l|l|l|} \hline rID & ReservationType & Price Per night & Loyalty points per night \\ \hline 1 & Premium Rooms & 800 SAR & 200 \\ \hline 2 & Villas & 2000 SAR & 500 \\ \hline 3 & ServicedApartments & 1500 SAR & 350 \\ \hline \end{tabular} The following provides an API for vour proiect classes. Sample Input Here is a sample input 1111145267SampleOutput12251226122712281229122510310310110110110210310310112132100920211009202122022022140220220901202232234AhmedSamehMohammadAhmedMohamedAhmedBaloshiAhmedBaloshiAhmedSamehMohammad For the above sample input, the following would be printed on the console. 2400 6100 2600 1229101090120214 Ahmed Sameh Mohammad 1225101100920217 Ahmed Sameh MohammadStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started