first off , don't hijack other's thread. create your own thread.
I give you an answer assuming you're new to daniweb and further won't ask such questions . okay ?
your code will first get input during runtime based on the input it will call related functions(i.e. 1 for jan , 2 for feb and so on).and those related function will strart printing from 1 to last day of the month(i.e 1 to 31 in case of jan).
you might also consider to use default case(as a best practice , you can add default label as last label in switch statement).Here is how default label looks :
So , next don't ask such question like "what will be the output ? or create a program for ........ or something like that. otherwise you may get flurry of downvotes which finally affects your repuation here ".okay ?
hope next time you won't ask such questions and won't hijack the thread.