年を入力するとその年の年間カレンダーを表示するプログラムをC言語で
記述せよという問題です。(ただしある1年に注目した時、その年がうるう年か
どうかを調べる。)だれかお願いします
プログラムを実行すると以下のように結果を表示する。(例2004年)
1月 2004
日 月 火 水 木 金 土
1 2 3
4 5 6 7 8 9 10
・
・
2月 2004
・
・

注:ある1日に注目した時その日が何曜日であるかを調べる関数
int youbi(int year, int month, int date)
引数 int year 年 int month 月 int date 日にち
返戻値 int dow year年のmonth月のdate日の曜日(a day of the week)
0:日、1:月、2:火、3:水、4:木、5:金、6:土、とする