Can we write condition in switch case?

No. It’s not possible because a case must be a constant expression.

Sizin İçin Seçtik  What is switch case method?

Leave a Reply

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