Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Java (http://www.go4expert.com/forums/java/)
-   -   Help needed program (http://www.go4expert.com/forums/help-needed-program-t3203/)

Tareeq 28Feb2007 23:48

Help needed program
 
this is a question iam working on

Write a program that prompts the user to enter the year and first day of the year, and
displays the calendar table for the year on the console. For example, if the user
entered the year 2005, and 6 for Saturday, January 1, 2007, your program should
display the calendar for each month in the year.


January 2007
Sun Mon Tue Wed Thu Frid 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 31
. . .
December 2007
Sun Mon Tue Wed Thu Frid 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 31


Guide: User inputs are the year and the first day of the year (ie: 1 for Sunday, 2
for Monday, 3 for Tuesday, so on and so forth). Refer Liang textbook on
Calendar class.




actually got this program but stuck and dont know how to go abt it, plz help thnx

shabbir 1Mar2007 11:13

Re: Help needed program
 
Duplicate of Help needed program. Thread closed.


All times are GMT +5.5. The time now is 19:45.