Computer Science, asked by tscr07, 8 months ago

what operator does switch case uses to check the condition

Answers

Answered by Anonymous
6

Answer:

Here the mark is defined as 100 and when switch statement is executed, the condition will be checked as follows.

  • case mark <=35. true => (100 <= 35) - this will give the result false. ...

  • case mark >=36 && mark <= 60. true === (100 >=36 && 100 <= 60) ...

  • case mark >= 61 && mark <= 80. ...

  • case mark >= 81.

Answered by sonalvagh15
1

________________

Here the mark is defined as 100 and when switch statement is executed, the condition will be checked as follow

case mark <=35. true => (100 <= 35) - this will give the result false.

case mark >=36 && mark <= 60. true === (100 >=36 && 100 <= 60)

case mark >= 61 && mark <= 80.

case mark >= 81.

_________________

Similar questions