Question: PLEASE DO THESE VARIATIONS: a) if date is divisible by 6 put an additional digit 6 to the immediate right of the actual date. b)

PLEASE DO THESE VARIATIONS: a) if date is divisible by 6 putPLEASE DO THESE VARIATIONS:

a) if date is divisible by 6 put an additional digit 6 to the immediate right of the actual date. b) isolate the third week (by keeping a counter) and isolate the Wednesday of that week. Make that date blank. c) Print the normal calendar, but while doing it must add up the numbers in the third row, and then at end of program test if that sum is divisible by 7, if so, say so at end of Calendar. d) increasing spacing for the separation of columns, with wider gaps as the columns are rightwards. e) Add numbers up in the fifth column and print the sum.

Calendar code:

#include #include

int main() { int i, start=3, days=31, p;

for (i=1; i

for (i=1; i 9. (14 points) (This is from a previous textbook) Write a program that prints a one-mont h calendar. The user specifies the number of days in the month and the day of the week on which the month begins: Enter number of days in month: 31 Enter starting day of the week (1-Sun, 7-Sat): 3 The month calendar is below: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!