- #1
ver_mathstats
- 260
- 21
Homework Statement
Days of the week are 0 - Sun to 6 - Sat. Today is Monday, use addition modulo 7 to find the day of the week 30 days from now.
Homework Equations
The Attempt at a Solution
0 - Sunday, 1 - Monday, 2 - Tuesday, 3 - Wednesday, 4 - Thursday, 5 - Friday, and 6 - Saturday. Do we just take 30 mod 7 which is equal to 2 and Tuesday would be our day? Or must I add 1 + 2 = 3 so that Wednesday is the day?
Thank you.