Problem-need to count number of vowels in 5 letter word

This is a discussion on Problem-need to count number of vowels in 5 letter word within the C Programming forums, part of the General Programming Boards category; Hi Havin a probs with detecting vowels. need to be able to count the number of vowels in 5 letter ...

  1. #1
    Registered User
    Join Date
    Mar 2005
    Posts
    6

    Problem-need to count number of vowels in 5 letter word

    Hi

    Havin a probs with detecting vowels. need to be able to count the number of vowels in 5 letter word entered at keyboard.

    Please help i'm really stuck, thanx !

    x jit x

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    Step 1) Read in the word
    Step 2) Solve it like you would in real life: Look at each letter and if it is a vowel increment a counter by 1

    http://cboard.cprogramming.com/annou...ouncementid=39

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. big number problem
    By mad_muppet in forum C Programming
    Replies: 11
    Last Post: 08-26-2008, 12:54 AM
  2. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 05:20 AM
  3. Bin packing problem....
    By 81N4RY_DR460N in forum C++ Programming
    Replies: 0
    Last Post: 08-01-2005, 05:20 AM
  4. Replies: 2
    Last Post: 01-02-2002, 01:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21