Calender
i need to write a program where the user enters the number of days in a month and the day of the week on which the month starts. The output should look like: 1 = Monday etc.
Im not having a problem with the user entering the info its just trying to find an easy way to make this work. Right now im trying to use a while statement embedded in a while statement. Any help would be greatly appreciated.
[412 byte] By [
Bobberta] at [2007-10-3 4:56:00]

When you post code, be sure to wrap it in [code][/code] tags. There's a "code" button at the top of the message input box when you make a post, to help you with that.
By the way, from what you've said so far there is no problem. You said you need to write a program and the only requirement of the program that you've mentioned is that the user can input data. Then you said that you're not having a proglem with the user inputting the data.
But I should point out that there's absolutely no need to have a while statement given the requirements as you've described them. Let alone two nested while statements.