![Simply define](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-1-1-300x150.png)
Simply define
![math-2](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-2-1-300x150.png)
140 dollars a night needs to be put
![math-3](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-3-300x151.png)
The list of destinations
![math-4](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-4-1-300x149.png)
So, depending on how long you stay will determine the cost and discount
![math-5](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-5-1-300x149.png)
The overall total
![math-6](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-6-300x149.png)
We cant forget the money spent during the trip
![math-7](https://openlab.citytech.cuny.edu/lpanganiban-eportfolio/files/2016/09/math-7-300x149.png)
And finally our chosen destination was Los Angeles
Overall this assignment was a good exercise for me because coding isn’t my strongest attribute. I understand what they were asking for but translating it into code was my time killer. Like every language, the best way to master it is through practice.