Leap year hint
- if a year is not divisible by 4, February has 28 days
- Use to internet to research about years that are multiples of a 100
- The % operator to determine if something is divisible. For example if x % 5 == 0, then x is divisible by 5
This topic: CenterForComputing
> WebHome >
Syllabi >
CSC121SylF2023 >
CSC121F2023Lab04 > CSC121F2023Lab04Hint2
Topic revision: r1 - 2023-06-19 - cathybareiss