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

    Default convert all vowels to the next alphabet and consonant to previous alphabet

    Write a program to accept a string.Then convert all vowels to the next alphabet and consonant to previous alphabet and print the new string.All other characters(if present) will remain unchanged

    Input:TODAY IS MONDAY
    Output:SPCBX JR LPMCBX

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

    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 Bufferedreader for input. Make an array of the alphabet and +1 the index value and tadaaa
    Beginner in Java Programming, Please don't trust my anwsers blind please :D

Similar Threads

  1. Incremented alphabet
    By ashin in forum New To Java
    Replies: 1
    Last Post: 10-07-2010, 12:36 PM
  2. Using NRIC.no to calculate and retrieve last alphabet
    By Roselicious in forum New To Java
    Replies: 3
    Last Post: 04-15-2010, 06:33 PM
  3. Java Alphabet problem
    By hailkush in forum New To Java
    Replies: 0
    Last Post: 03-06-2010, 04:11 PM
  4. Alphabet timer help.
    By kosok in forum New To Java
    Replies: 2
    Last Post: 12-24-2008, 06:05 PM
  5. Listing the alphabet (beginner)
    By SuperOnion in forum New To Java
    Replies: 3
    Last Post: 12-22-2008, 03:23 AM

Posting Permissions

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