Write a Java program which reads in a string from the keyboard and then reports how many times each letter of the alphabet occurs within that string (ignoring case). It should also report how many non-letters are included in the string.
Import B102.*; class_prog1 { public static void UserInput() { public String Data = new String() Screen.out.println("Please enter some characters values:"); String.toLowerCase() Data=keybd.in.readchar(); return Data; } public static void Calculate() { private char calcArray[] = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"}; private int index; for(index=0; i<?; index++) }
Just wondering If I'm on the right track for this program? Not to sure what else I should do![]()