please help me in this…

Home Forums C Programming please help me in this…

This topic contains 3 replies, has 2 voices, and was last updated by  Humayan 9 years, 3 months ago.

  • Author
    Posts
  • #2135

    bajean
    Member

    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
    Member

    Is this what you need? :
     

  • #3453

    bajean
    Member

    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
    Member

    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:

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble