Question: Hello. Attached is a portion of my program for the first line of my calendar. Everything else looks perfect besides the alighment. Can you help
Hello. Attached is a portion of my program for the first line of my calendar. Everything else looks perfect besides the alighment. Can you help me figure out how to adjust the amount of spaces present before the startDay?
I am currently having to go in and adjust the number of spaces manually, and that is not practical, when it is supposed to automatically input correctly for the user. For example:
January goes all of the way across and uses all 7 places, so no spaces are needed.
March uses 4 numbers, and so 5 spaces are needed for correct alignment.
Please help :)

164 165 166 167 168 169 170 int startDay-getStartDay(y, m); int number0fDaysInMonth = getNumberOfDays1nMonth(y ,m); int i; for (i 0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
