java program that takes a word and randomizes the letters and creates an anagram
问题 I need to create a program that will take a word without spaces, punctuation, and all lowercase, and rearranges the letters randomly. It needs to have substrings or charAt, I cannot use an array since we have not learned them yet. It also hsa to be different everytime, really n! times I think. This is what I have so far- public static void main(String[] args) { Scanner kboard = new Scanner(System.in); System.out.println("Enter a word that is less than 11 lowercase letters and has no