✏️ Explanatory Question

Question:

Rewrite the following fragment using switch:

if (ch == 'E') eastern++;
if (ch == 'W') western++;
if (ch == 'N') northern++;
if (ch == 'S') southern++;
else unknown++;
👁 56 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Answer not available right now.