please can some one soluation this programmm???? i need tomrrow
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 7

Recommended Answers

All 3 Replies

thank for all>>>but the answer not clear

Message is simple, we do not care when is your assignment due. We do not care what is your skills level. However we do care if you attempt to work on it and not just copy & paste expecting someone to solve your problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.