All things are lawful, but not all things are profitable.
Warren Lucero wrote:I am suppose to ask many days do you want to rent the car for. After entering the number of days, it should calculate the cost based on the number of days as well as a 10% discount for 6 or more days, and additional 15% if you are a gold card member.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
Why? Won't cost vary from car to car, and won't it be a variable?Nigel Browne wrote:. . . Your COST_PER_DAY constant should be static . . .
One tinny thing. You avoided logical error this time, but next time could be not that successful if you ever manage to write:Warren Lucero wrote:
Forget Java. Probablyless then 6 days no discount, over 6 days 15% discount, and extra 10% if a gold card member.
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|