Search:

Type: Posts; User: Rusak

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    4,787

    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
    4,787

    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
    4,787

    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
    4,787

    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
    4,787

    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...
Results 1 to 5 of 5