Results 1 to 2 of 2

Thread: Silly strings

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

    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
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,817
    Rep Power
    19

    Default Re: Silly strings

    What have you written so far and where are you stuck?
    This is not a coding service...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Similar Threads

  1. Silly boolean buttons
    By dd2308 in forum New To Java
    Replies: 8
    Last Post: 10-05-2012, 12:50 AM
  2. Replies: 5
    Last Post: 04-11-2012, 09:03 PM
  3. 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
  4. Strings
    By zoala001 in forum Java Applets
    Replies: 9
    Last Post: 01-02-2011, 10:26 AM
  5. It is possible in Strings..?
    By mlibot in forum New To Java
    Replies: 1
    Last Post: 03-12-2010, 05:30 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
  •