Create a logical function IsConsonant(ch), which returns true if ch is a consonant. The characters considered vowels are: 'a', 'e', 'i', 'o', and 'u'. Your function can assume ch will be either an upper- or lower-case letter.

I have no clue what i am supposed to do. Can i get a hint on how to start this program?

Thank you

#include<iostream>
using namespace std;
bool IsConsonant(char);

int main (int argc, char* argv[]){
...
}

bool IsConsonant(char ch){
...
}

The structure will resemble something like that. I'll let you fill in the ...

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.