I have this bit of code:
case 1:
case 3:
case 5:
case 7:
case 8:
case 10:
case 12:
day = 31;
Does this mean the values 3,5,7,8,10,12 can only be day=31?
How can I make it so only the Max value is 31? So it can equal 31 or less?