Hey I've got a school project in my Data Structures and Algorithms Class and I'm somewhat stuck at a problem I was wondering if anyone could give me a hint on coming up with an algorithm to solve my particular problem, I’ve fished the rest of the program but...
I'm assigned to write a day of the week calculator program...the books example is...have a set day of the week say Monday, if the user adds 4 to it the system will output Friday...if the date is Tuesday and the user adds 13 days, the day to be returned is Monday...
I've been thinking of different ways to do this, but all of them seem to fail...like my for loop...double for loop...and some other bad ideas.
Keep in mind I don’t need actual code...just some advice on how to solve the problem.
2006-09-21
15:18:54
·
3 answers
·
asked by
D
4
in
Computers & Internet
➔ Programming & Design