I dont understand what is meant by your first sentence/how to fix it.
Type: Posts; User: llowe29
I dont understand what is meant by your first sentence/how to fix it.
Thanks finally fixed the problem or at least I think I did based on results
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or...
but the code has to convert ints to morse code also.
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or a date)
*/
import java.util.*;
import java.io.File;
import...
Input was Hohoho122.
Output was ---....---....---
yes at least for letters I suppose Ill do the same thing for numbers
--- Update ---
Now the number part wont return anything
/**
* Write a description of class MorseCode here.
*
After making suggested changes here is what I have.
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or a date)
*/
import...
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or a date)
*/
import java.util.*;
import java.io.File;
import...
is this what you mean
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or a date)
*/
It wont work because everytime I would go to next letter in phrase it can only be compared to next letter in array.
--- Update ---
Here is what I have (tried...)
/**
* Write a...
(I understand the problem but dont see how.)(pseudocode!)See i need the if to be equivalent to asking if the phrase has a letter in the alphabet, return the index. Then look for the index in the...
/**
* Write a description of class MorseCode here.
*
* @author (Landon L)
* @version (a version number or a date)
*/
import java.util.*;
import java.io.File;
import...