Hi buddies! I need help with this(don't worry 'bout the bad tittle!)

Write a program that inputs the years in the range 1994 to 2004 and uses the for-loop repetition to produce a neatly printed out calendar. NB. Watch out for leap years.
Hint: To calculate the start date use the formula:
Start_Day = (year + (year-1)/4 – (year – 1)/100 + (year –1)/400) Modulus 7.
You may assign 0 for Sunday, 1 for Monday, 2 for Tuesday, etc.
Ie. If day = 0 then it is a Sunday.

Program in C++ please.

Please if you can do it send it to me at Fransheezy@yahoo.com
Even the pseudocode algorithm will be helpful! :mrgreen:

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.