Question: I am only given one hour to code this. [NOTE : NO arrays, pointers, recursion and strings should be used in this code.] Also, please

![NO arrays, pointers, recursion and strings should be used in this code.]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f4fcd177ee7_53766f4fcd10e4f6.jpg)
I am only given one hour to code this. [NOTE : NO arrays, pointers, recursion and strings should be used in this code.] Also, please DO NOT use switch loop in this code. I dislike using switch! 1) How do I go about doing this is under an hour? Please include some thought processes. 2) What's the best way to savage the maximum amount of marks if I don't complete this in under an hour?
Exercise 2: Monthly Calendar for 2016(50 marks] Problem Statement It is almost the last quarter of 2015 and 2016 is no longer far away. This is a good time to print out a monthly calendar for 2016 and start planning for the coming year. Figure 1 shows an example of such calendar for January 2016. January 2016 Figure 1. A calendar for January 2016 In this exercise, you are to write a program to print the calendar for any given month in 2016, To keep things simple, you only need to print 1) abbreviations for the days of a week, 2 numbers, and 3) underscores in your calendar: The first row of the calendar is a fixed line of text consisting of the abbreviations for the days af a week, starting with "Sun" and ending with 'Sat'. These words are separated by exactly one tab character t) From the second row onwards, each row of the calendar consists of numbers y underscores. The numbers in the calendar represent the days in a month. Depending on the number of days in a month, the numbers range from 1 to 31 (say Januaryl or less (say April Underscores are printed when the month does not start on a Sunday or end on a Saturday. As shown in the first sample run, five underscores are printed before the number 1 because anuary starts on a Friday, whereas six underscores are printed after the number 31 because January ends on a Sunday . There should be exactly one tab character t) between neighbouring numbers/underscores . There should be no space/tab character at the end of a line. Your program should read in one integer, which represents a month in 2016, and print the calendar for that particular month You may assume that the input is valid (le., the integer is between 1 and 12, both inclusive). Write on the skeleton file calendar.c given to you. You need to include onefunction
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
