Want this question answered?
#include<stdio.h> #include<conio.h> void main() { int n; printf("please enter number \n"); scanf("%d",n); switch(n%2) { case 0 : printf("even"); break; case 1 : case -1 : printf("odd"); } getch(); }
A bill of mortality is an official statement of the number of deaths in a given place during a given time.
sdfsdfsfsggbcvbg
8086 assembly language program to check wether given number is perfect or not
Ends the case statement. Without it, any code after where the break; is supposed to be will get executed as well until it does encounter a break; or the end of the switch.Code Example:char cTest = 'a';switch(cTest) {case 'a':/* Code here gets executed. */case 'b': //* Code here gets executed. */case 'c':/* Code here gets executed. */break;case 'd':/* Code here won't be executed. */default:/* Code here won't be executed. */}
The if and switch statements are commonly referred to as decision statements. When we use decision statements in our program, we're asking the program to evaluate a given expression to determine which course of action to take. It decides the control flow of the program.
syntax error
kjhk
No, thanks.
None of those given.
With a COMPILER,
Compiler