how can we make a C++ program that identifies whether the user has input a vowel or a consonant specifically by using the SWITCH structure?
i mean its simple with if-else but is there a way it can be made with switch and not if-else?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.