Home Forums C Programming please help me in this…

Viewing 3 reply threads
  • Author
    Posts
    • #2135
      bajean
      Participant

      friends i want to make a simple program in c in which if i give input as brian charles lara then it should print b c lara

      i am able to print b c l
      reply asap!!!

    • #3452
      Humayan
      Participant

      Is this what you need? :
       

    • #3453
      bajean
      Participant

      sir thanx for ur post,
      yaa…its good…..but sir is it necessary to input three strings…..???
      below written  program will output initials of the name… 

      can u modify this one??….to get the desired output….
       
       

    • #3454
      Humayan
      Participant

      this first code assumes one space between words:
      //this code assumes only one space between words

      This second code assumes more than one space between words:

Viewing 3 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.