Computer Science, asked by mariyasibi10, 4 months ago

4.
Rewrite the following using switch
if(a==0)
Eastern++;
else if(a==1 || a==2)
Western++;
else if (a==3)
Southern++;
else
unknown++;​

Answers

Answered by SnehethaKrishna
0

Answer:

int i,sum=0;

for(i=0;i<10;i+=2)

{ sum +=i;

}

Similar questions