Complementary task for topic: 2
M Nemeth · 2023-08-29 15:21:04.613223'
control: if/else switch/case
control: if/else switch/case
Write a C program to enter month number between(1-12) and print number of days in month using if else. How to print number of days in a given month using (a) if else (b) switch case in C programming. Logic to find number of days in a month in C program.
Example
Input
Enter month number: 1
Output
It contains 31 days.
Hint: Controls has no solution, you can check your solution if works or not!
Solution
No Solution
Explanation
-