Results 1 to 3 of 3
  1. #1
    somnath6088 is offline Member
    Join Date
    Nov 2010
    Posts
    4
    Rep Power
    0

    Default Abbreviation in Java

    Write a program to accept the full name of a person and print the name in the following ways

    Input:Ajay Kumar Das
    Output1:A.K.das
    Output2:Das, Ajay Kumar

  2. #2
    Zack's Avatar
    Zack is offline Senior Member
    Join Date
    Jun 2010
    Location
    Destiny Islands
    Posts
    692
    Rep Power
    5

    Default

    This isn't a homework service. Show some effort before you ask for help.

  3. #3
    coltragon is offline Senior Member
    Join Date
    Dec 2009
    Posts
    104
    Rep Power
    0

    Default

    Use bufferReaders to ask for his name input. And next use scanners to get the first letter of a name.
    Beginner in Java Programming, Please don't trust my anwsers blind please :D

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •