Computer Science, asked by tigershiv70, 7 months ago

Rewrite the following fragment using switch
:
1 (C= ='E') eastern '++ ;
if (ch= = 'W') western++;
it i ch== 'N') northern ++;
if (ch = = '5') southern ++;​

Answers

Answered by anamtaany31
11

Answer:

switch (ch)

{

case:'E": eastern ++;

break;

case :'W":western ++;

break;

case:'N':northern ++;

break;

case :'S":southern ++;

break;

Answered by snighdashreya42
1

Answer:

which subject you want I will give you

Similar questions