Computer Science, asked by Habibabithi31, 3 months ago

Write a C program to take an input of a number and print the corresponding month of the year using switch case. Write an algorithm and draw a flowchart for the same.

Answers

Answered by Braɪnlyємρєяσя
2

Explanation:

A general syntax of how switch-case is implemented in a 'C' program is as follows: switch( expression ) { case value-1: Block-1; Break; case value-2: Block-2; Break; case value-n: Block-n; Break; default: Block-1; Break; } Statement-x; The expression can be integer expression or a character expression.

Similar questions