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...
Type: Posts; User: kbrady481
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...
I am still very confused as well
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...
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){
yeah I can't get a bigger pic
Enter lines of text, type two returns in a row to end.
[DrJava Input Box]
[DrJava Input Box]
>
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.
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
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!'".
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...
The while loop makes the program stop scanning lines once the user has pressed enter twice (or enters a string of length zero).
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...
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.
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...