Search:

Type: Posts; User: Rusak

Search: Search took 0.23 seconds.

  1. Replies
    10
    Views
    3,084

    Re: PigLatin translator help

    So i added a while statement that makes it continue as long as the string s is not null but now it wont work at all it just does the first part of the driver class where it reports the inputs but...
  2. Replies
    10
    Views
    3,084

    Re: PigLatin translator help

    I think i got it. It compiles but the dam thing wont work now lol.

    import java.util.StringTokenizer;
    import java.lang.*;

    public class PigLatin{

    public String[] phrases;
    public String...
  3. Replies
    10
    Views
    3,084

    Re: PigLatin translator help

    So the first part of the driver class allows the user to put in mulitiple inputs that are strings in an array. each separate input is a string in consecutive positions on the array until a blank...
  4. Replies
    10
    Views
    3,084

    Re: PigLatin translator help

    so i fixed the piglatin constructor but i still dont get the stringtokenizer one.

    import java.util.StringTokenizer;
    import java.lang.*;

    public class PigLatin{

    public String[] phrases;
    ...
  5. Replies
    10
    Views
    3,084

    PigLatin translator help

    So here are the assignment instructions:

    For this assignment, your job is to create a program that reads in multiple lines of text, and then produces the translation of that text into the English...
  6. Replies
    5
    Views
    1,591

    Re: anagram program wont compile please help

    Thanks guys but by the time you replied i figured out everything except for this...
    My code compiles fine but it always returns yes. the method posTester and reportResult need to be looked at if you...
  7. Replies
    5
    Views
    1,591

    Re: anagram program wont compile please help

    so the strObject was meant to be a constructor so i renamed it to the name of the class it resides in and it looks like this:

    public class SubAnagram{

    private String str1;
    private String...
  8. Replies
    5
    Views
    1,591

    anagram program wont compile please help

    So I have to write a two class program that reads in two words or phrases from the keyboard, and then judges if the first phrase is an anagram of some of the letters in the second phrase.
    Examples: ...
  9. Replies
    0
    Views
    539

    Anagram program wont compile

    So I have to write a two class program that reads in two words or phrases from the keyboard, and then judges if the first phrase is an anagram of some of the letters in the second phrase.
    Examples: ...
Results 1 to 9 of 9