Calendar using for loop in C++?

pls help me on my assignment in programming..

my prof said that it should have 2 for loop and a if else within the for loop.

pls help me on making a simple October 2011 calendar. the day "1" should of course start at "Sat"

hope someone can help me out..

thanks in advance...

Update:

CAn u pls make a code for it...? thanks... im only new to prog..

1 Answer

Relevance
  • 9 years ago

    First For Loop is to write the Day Names ...

    Sat Sun Mon Tue Wed Thu Fri

    The Second Loop is to write the Day Numbers ...

    1 2 3 4 5 6 7

    ... etc

    and about the if statement ... you can check if it's 31 days or not

Still have questions? Get your answers by asking now.