logical function with characters

Discussion in 'C++' started by pwp14, Oct 1, 2010.

  1. pwp14

    pwp14 New Member

    Joined:
    Oct 1, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice