help me to fix these problems in this code
Runtime error.
The main function appears to print a whole year’s worth ofcalendar which is not the assignment.
Please obtain from the user the year and the month, then printout just that month’s calendar.
Write a program that, given a month and year, prints acalendar, such as
June 2016Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 1112 13 14 15 16 17 1819 20 21 22
OR
OR