Here’s the problem - you are assigning zero to the day
variable. It’s not the only place you have that problem in the code either.
Use triple-equals for comparison instead.
Here’s the problem - you are assigning zero to the day
variable. It’s not the only place you have that problem in the code either.
Use triple-equals for comparison instead.