Calendar Program (Need Help!)

Works now
Last edited on
if ((DAYNUM = 1 && COL < DAY1) || (DAYNUM > QDAYS))

= is assignment.
== is comparison.

Other than that little snafu you never change the value of DAYNUM or QDAYS inside the loop which begins on line 52, so that loop will never end.
Thanks! It now works.
Topic archived. No new replies allowed.