Search:

Type: Posts; User: kbrady481

Search: Search took 0.10 seconds.

  1. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    I have no idea where to go from here, I am just going to get help from my teacher tomorrow but thank you for all your help!
  2. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    I'm not sure what you mean by that. Should these methods be called in the driver class?
  3. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    The println() methods are used in the methods scoreLine and printResults
  4. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    I am a true beginner with computer programming, so I am not sure exactly what you mean.



    public class LetterProfile
    {
    int scoreboard[] = new int [26];

    public void countChars (String s)...
  5. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    I'm pretty sure it has something to do with the driver, but I have no idea how to fix it. I am going to office hours tomorrow to figure it out... :(
  6. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    When I run the program, it asks me for an input. However, when I enter some text and press enter twice, the code is supposed to print out each letter in the entered text, and how many times that...
  7. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    Thank you so much! I have gotten rid of all of the errors, but my code still does not return anything. I have print statements, so I am confused about that. But you have been a huge help! Thanks!
    ...
  8. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    i think i have the most recent version of java and im using dr.java

    --- Update ---

    ok I managed to get rid of that weird first error. now I am down to 2 errors with the last for loop.


    ...
  9. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    Thank you!



    public class LetterProfile{
    int scoreboard[] = new int [26];

    public void countChars (String s)
    {
    s.toLowerCase();
  10. Replies
    24
    Views
    3,199

    Re: Java Program - Letter Frequencies - HELP!

    import java.util.*;

    public class LetterDriver{
    public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    String tScan= " ";
    while(tScan.length() > 0){
    ...
  11. Replies
    24
    Views
    3,199

    Java Program - Letter Frequencies - HELP!

    I have a programming assignment that I can't figure out. Please help!

    For this assignment you are to print a table that gives approximate letter frequencies for English text. To keep things simple...
Results 1 to 11 of 11