Search:

Type: Posts; User: kbrady481

Search: Search took 0.10 seconds.

  1. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    The program is due tonight. That is why we are so persistent haha.. I really am trying in this class I've been going to tutoring and office hours. I guess programming is just not my thing...
  2. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    I am still very confused as well
  3. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    I tried to do what you suggested without seeing your LetterProfile class, but it isn't working for me.

    --- Update ---

    I don't expect the array to be filled magically. I am just very new to...
  4. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    I will post my whole code again so we're all on the same page lol



    import java.util.Scanner;

    public class LetterDriver
    {
    public static void main(String[] args){
  5. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    yeah I can't get a bigger pic
  6. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    1884
  7. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    1883
  8. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    Enter lines of text, type two returns in a row to end.
    [DrJava Input Box]
    [DrJava Input Box]
    >
  9. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    Yes I'm in that class and I am not enjoying myself

    --- Update ---

    Nothing is printing for me still... idk what I'm doing wrong this is awful.
  10. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    I don't know how to use the java command. Yes, that message was from my IDE.

    --- Update ---

    I don't understand what you mean in post #8
  11. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    Nothing prints out. Before, it printed out an input box.

    --- Update ---

    When I type something in the interactions box, it says "Static Error: Undefined name 'Hello world!'".
  12. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    am I getting closer?



    import java.util.*;

    public class LetterDriver{
    public static void main(String[] args){
    System.out.println("Enter lines of text, type two returns in a row to...
  13. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    The while loop makes the program stop scanning lines once the user has pressed enter twice (or enters a string of length zero).
  14. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    I deleted them because they weren't working. I don't know where or how to call these methods but this is one of the ways I tried:



    import java.util.*;

    public class LetterDriver{
    public...
  15. Replies
    38
    Views
    3,781

    Re: Program not printing anything

    Yes, that was my thread. But I tried calling the two methods in the driver and nothing I do works. I am brand new to computer programming so I'm sure I'm just doing it wrong.
  16. Replies
    38
    Views
    3,781

    Program not printing anything

    So I've gotten help already with this program, but I can't seem to get it to print. I know I have to call the methods containing the println statements, but I'm not sure how to go about this. Below...
Results 1 to 16 of 16