please help me with this simple...


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: please help me with this simple...

  1. #1
    amhere Guest

    please help me with this simple...


    took introduction to java this semester, but unfortunatly i missed some classes.
    now i'm sitting here and have some programs due monday, but i don't now where
    to start! please, please help me!

    here's what i need to do:

    Write a Java program [utilizing ConIO.java or FormIO.java] that counts the
    individual numbers of each vowel ('a', 'e', 'i', 'o', 'u') in a user-input
    string (don't forget that the input may be upper- or lower-case).

    2. (Palindrome.java)

    Write a Java program [ utilizing ConIO.java or FormIO.java] that tests whether
    a user-input string is a palindrome, which is a string such as "otto" that
    reads the same in both directions.


    3. Write a method
    String numToWord(String s)
    that takes a string argument representing an integer between 0 an 99999 and
    return the word equivalent. For example, for s="423", the method would return
    the String "four hundred twenty three".

    4. Write the body of the method
    boolean isSum(int x, int y, int z)
    that returns true if any one of x, y, and z is the sum of the other two and
    returns false if they are nor.

    Provide test (main) methods to see that the methods perform as described.


    i'll apriciate any kind of help,
    amhere

  2. #2
    Paul Clapham Guest

    Re: please help me with this simple...

    If you have something done but need help with it here, then don't hesitate
    to post your question here. The way you put it, it sounds like you are
    asking us to do your homework for you. And next time, don't wait until the
    day before the assignment is due before you start on it.

    PC2

    "amhere" <minmejl1@hotmail.com> wrote in message
    news:3ae23a7f$1@news.devx.com...
    >
    > took introduction to java this semester, but unfortunatly i missed some

    classes.
    > now i'm sitting here and have some programs due monday, but i don't now

    where
    > to start! please, please help me!
    >
    > here's what i need to do:
    >
    > Write a Java program [utilizing ConIO.java or FormIO.java] that counts the
    > individual numbers of each vowel ('a', 'e', 'i', 'o', 'u') in a user-input
    > string (don't forget that the input may be upper- or lower-case).
    >
    > 2. (Palindrome.java)
    >
    > Write a Java program [ utilizing ConIO.java or FormIO.java] that tests

    whether
    > a user-input string is a palindrome, which is a string such as "otto" that
    > reads the same in both directions.
    >
    >
    > 3. Write a method
    > String numToWord(String s)
    > that takes a string argument representing an integer between 0 an 99999

    and
    > return the word equivalent. For example, for s="423", the method would

    return
    > the String "four hundred twenty three".
    >
    > 4. Write the body of the method
    > boolean isSum(int x, int y, int z)
    > that returns true if any one of x, y, and z is the sum of the other two

    and
    > returns false if they are nor.
    >
    > Provide test (main) methods to see that the methods perform as described.
    >
    >
    > i'll apriciate any kind of help,
    > amhere




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center