دخيلكم....للي يعرف في حل مسائل باستخدام كودات جاااافا يساعندني.....$$t
اريد كتابة التقويم الهجري بكودات الجافا.....اريده بسرع وقت ممكن.....اليوم
Your task is to implement a program that displays the calendar for a specific
month in the Hijri year. The program prompts for the month number and the
first day of the week for the given month. For example, if the user entered 9
for the month (Ramadan) and 6 for the first day (Thursday) then the output
should be similar to the following.
Ramadan
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
You may assume that all Hijri months have fixed 30 days and first day of the
week (day 1) is Saturday. In fact, use the tables below to guide you.
Month Name Month Number
Muharram 1
Safar 2
Rabi’ al-awwal 3
Rabi’ al-thani 4
Jumada al-awwal 5
Jumada al-thani 6
Rajab 7
Sha’aban 8
Ramadan 9
Shawwal 10
Dhu al-Qi’dah 11
Dhu al-Hijjah 12
Day Number
Saturday 1
Sunday 2
Monday 3
Tuesday 4
Wednesday 5
Thursday 6
Friday
اريد كتابة التقويم الهجري بكودات الجافا.....اريده بسرع وقت ممكن.....اليوم
Your task is to implement a program that displays the calendar for a specific
month in the Hijri year. The program prompts for the month number and the
first day of the week for the given month. For example, if the user entered 9
for the month (Ramadan) and 6 for the first day (Thursday) then the output
should be similar to the following.
Ramadan
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
You may assume that all Hijri months have fixed 30 days and first day of the
week (day 1) is Saturday. In fact, use the tables below to guide you.
Month Name Month Number
Muharram 1
Safar 2
Rabi’ al-awwal 3
Rabi’ al-thani 4
Jumada al-awwal 5
Jumada al-thani 6
Rajab 7
Sha’aban 8
Ramadan 9
Shawwal 10
Dhu al-Qi’dah 11
Dhu al-Hijjah 12
Day Number
Saturday 1
Sunday 2
Monday 3
Tuesday 4
Wednesday 5
Thursday 6
Friday