String newWord = letters.charAt() - letters.charAt(charPos);
public class MyProgram { public void start() { String s1 = removeLetter("MARVELLOUS"); String s2 = removeLetter("TANGO"); System.out.println("Letters removed: " + s1 + ", " + s2); } private String removeLetter(String letters) { int li = az.length(); int ranChar = (int)(Math.random()*li); char charPos = letters.charAt(ranChar); } }
ArrayList
char
Remove(
)
string
ToArray()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)