ara1123

Calendar sample output

Oct 4th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Enter number of days in month: 31
  2. Enter starting day of the week (1=Sun, 7=Sat): 1
  3. Sun Mon Tue Wed Thu Fri Sat
  4. 1 2 3 4 5 6 7
  5. 8 9 10 11 12 13 14
  6. 15 16 17 18 19 20 21
  7. 22 23 24 25 26 27 28
  8. 29 30 31
  9.  
  10. Enter number of days in month: 28
  11. Enter starting day of the week (1=Sun, 7=Sat): 4
  12. Sun Mon Tue Wed Thu Fri Sat
  13. 1 2 3 4
  14. 5 6 7 8 9 10 11
  15. 12 13 14 15 16 17 18
  16. 19 20 21 22 23 24 25
  17. 26 27 28
Add Comment
Please, Sign In to add comment