geronimo Finch wrote:Say a single user inputs staying for 4 nights, that would mean 2 nights would be charged at one rate and 2 nights would be charged at a different rate and then added together. How would I differentiate that if a user inputs 4, the first 2 of that four inputted represents a different value than the second 2 of that four? That's what is confusing me.
geronimo Finch wrote:There are four different scenarios. The first two scenarios are for one person staying upto two nights and the second scenario is more than one person staying upto two nights. I've tested these two and they work.
The remaining two scenarios are one person staying more than two nights and more than one person staying more than two nights....
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
geronimo Finch wrote:Got it.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Don't get me started about those stupid light bulbs. |