Can anyone help me out here and tell me if im going in the right direction with my code. I have everything else correct but im having difficulty creating a dynamic calendar.
>>57369478
>Week days should be constant
>Have a counter (week_day) going from 0..6
>Have a table for the months and how many days they have
>Set the another counter (current_day) according to the current month you're printing
>LOOOOP
Done
>>57370678
ill try that out thank you
>>57369464
make an array of all the names of the months then find the formula for leap year, then make an array for number of days in each month, loop through the months array to print the month names, then print spaces until jan first, then keep printing days until end of month, then print new line
reset the number and repeat for other months