Thread: C language: how to printf words with 4 letters and where 2nd letter is 'a'

  1. #1
    Registered User
    Join Date
    Nov 2014
    Posts
    1

    C language: how to printf words with 4 letters and where 2nd letter is 'a'

    hi, i need help to find all words from user given string ,where:
    1) consist just from 4 letters;
    2) second letter is 'a'.
    Thank you very much!

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,403
    *Moved to C programming forum*

    What is your idea for solving this? What have you tried and how does it not work?
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which word or words has the letter?
    By Ph0x in forum C Programming
    Replies: 8
    Last Post: 04-23-2014, 09:50 AM
  2. Replies: 2
    Last Post: 10-11-2013, 08:44 AM
  3. Replies: 3
    Last Post: 12-10-2012, 12:24 AM
  4. Replies: 3
    Last Post: 12-03-2011, 10:35 PM
  5. Reversing Letters in Words of a Sentence
    By CRSpeedy in forum C Programming
    Replies: 10
    Last Post: 03-31-2009, 06:12 PM

Tags for this Thread