Name the case constants allowed in swich case? d) Identify the error in the following snippet and correct it String res=if(mark>40 && mark<=100)?pass:fail;
[2]
Answers
Answered by
3
Answer:
switch (variable or an integer expression) { case constant: //C Statements ; case ... Let's take a simple example to understand the working of a switch case ... For example, the following program is incorrect:
Answered by
0
Answer:
switch (variable or an integer expression) { case constant: //C Statements ; case . Let's take a simple example to ... understand the working of a switch case . For example, the following program is incorrect:
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Hindi,
2 months ago
Math,
9 months ago
Art,
9 months ago