Search:

Type: Posts; User: Pettsa

Search: Search took 0.16 seconds.

  1. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    I changed the i = 0 to i = 1, it looked like it did it. Thank you so much for your help.
  2. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    it runs:

    computers
    omputersc
    mputersco
    puterscom
    uterscomp
    terscompu
    erscomput
    rscompute
  3. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    Then what?
  4. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    I'm not sure, I am lost at what to do next. Do you think you can fix the code?
  5. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    public class WordRectangle {

    /**
    * @param args the command line arguments
    */
    public static void main(String[] args) {

    //Declare variables
    int count...
  6. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    All I got it to work but... how would I loop it to make that word only have to right rows and columns for the specific word. Ex computers, 9 rows, 9 columns? Here is the code so far:
    package...
  7. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    On what line would I do that?
  8. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    How would I add it to the end?
  9. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    It outputs:

    computers
    omputers
    mputers
    puters
    uters

    And, no that is not what I want.
  10. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    Ok I'm trying to figure this out......
    Here is what I have so far.... can you show me an example of what to do?


    package wordrectangle;
    import javax.swing.JOptionPane;
    import java.lang.String;...
  11. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    I just don't know where they would go in my program.
  12. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    Um, I am sorry, I understand the methods, really I do, this is all I have so far, could you please show me how to do it. My teacher doesn't teach us at all how to do these things and I am so stuck...
  13. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    Um, I understand those methods but I don't know where to start.
  14. Replies
    34
    Views
    7,242

    Re: How to Create a Word Rectangle

    When you enter a word it will display it as a regular word then shift a letter to the right, and it will be in rows and columns for the amount of letters the word has. Example:

    COMPUTERS...
  15. Replies
    34
    Views
    7,242

    How to Create a Word Rectangle

    Hello, I was wondering how to create the code for a word rectangle in java?
Results 1 to 15 of 15