Results 1 to 2 of 2

Thread: Silly strings

  1. #1
    MhilleXD is offline MHILLE
    Join Date
    Oct 2012
    Quezon City, Philippines
    Rep Power

    Default Silly strings

    You are given the following rules about strings:

    1. There can only be an even number of vowels
    2. There must be AT LEAST 3 digits
    3. There must be AT MOST 3 non-alphanumeric characters
    (Defined as not in the set {09,az,AZ})
    4. There must be no occurrence of the letters b or q in the string.

    Write a program that will determine if the inputted string is valid based on the given rules.

    Please help me, this is my project. I'm not good (at all) in programming. So please help me :(

  2. #2
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    New Zealand
    Rep Power

Similar Threads

  1. Silly boolean buttons
    By dd2308 in forum New To Java
    Replies: 8
    Last Post: 10-05-2012, 12:50 AM
  2. Silly strings
    By MhilleXD in forum Advanced Java
    Replies: 1
    Last Post: 10-02-2012, 10:32 AM
  3. Replies: 5
    Last Post: 04-11-2012, 09:03 PM
  4. Eclipse is making me go silly with it's syntax errors
    By magicmojo in forum New To Java
    Replies: 5
    Last Post: 02-22-2011, 01:48 PM
  5. Strings
    By zoala001 in forum Java Applets
    Replies: 9
    Last Post: 01-02-2011, 10:26 AM

Tags for this Thread

Posting Permissions

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