Can we use range in switch case?

Yes, we can use a range of values with switch case statement ; in this article we are going to discuss the same. For example, if you want to execute same set of statements with a range of numbers, you do not need to write separate case values, you can use range like min_value … max_value.

Sizin İçin Seçtik  Uzman öğretmen kime denir?

Leave a Reply

Your email address will not be published. Required fields are marked *