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!
Type: Posts; User: kbrady481
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!
I'm not sure what you mean by that. Should these methods be called in the driver class?
The println() methods are used in the methods scoreLine and printResults
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)...
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... :(
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...
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!
...
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.
...
Thank you!
public class LetterProfile{
int scoreboard[] = new int [26];
public void countChars (String s)
{
s.toLowerCase();
import java.util.*;
public class LetterDriver{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String tScan= " ";
while(tScan.length() > 0){
...
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...