C语言制作日历问题。
想要得出这样的日历:Pls input Year and Month.
Year : 2015
Month : 6
2015 / 6
Sun Mon Tue Wed Thu Fri Sat
-----------------------------------
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
例二:
Pls input Year and Month.
Year : 2015
Month : 2
2015 / 2
Sun Mon Tue Wed Thu Fri Sat
-----------------------------------
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
例三:
Pls input Year and Month.
Year : 2016
Month : 2
2016 / 2
Sun Mon Tue Wed Thu Fri Sat
-----------------------------------
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29
谢谢各位了!