👤

how can switch statements be used in real life?

Sagot :

Answer:

Everything in the real life can be compared with a switch statement. By example when you turn on the light you are using a switch. ... it works like check and draw if case matches then the statement will execute otherwise it draw and will jump on other case .

Explanation:

pa brainliest den pa follow ^^