===================== Analysis Menu ------------1. Set <F>ile name (File Name Not Loaded) 2. Show <U>pper case letter frequency z 4. End <A>nalysis program Enter Selection:
File Name Loading Module
-----------------------Enter file name:
Upper Case Letter Frequency Module
---------------------------------A B C D E F G H I ---- ----- ----- ----- ----- ----- ----- ----- --31 10 9 11 11 13 4 7 2 J K L M N O P Q R ---- ----- ----- ----- ----- ----- ----- ----- --6 4 4 19 4 5 5 3 4 S T U V W X Y Z ---- ----- ----- ----- ----- ----- ----- ----16 25 5 5 17 2 5 4 Upper Case letter frequency analysis complete. Lower Case Letter Frequency Module ---------------------------------a b c d e f g h ---- ----- ----- ----- ----- ----- ----- ---363 82 97 206 682 126 79 287 j k l m n o p q ---- ----- ----- ----- ----- ----- ----- ---3 35 177 149 306 390 86 5 s t u v w x y z ---- ----- ----- ----- ----- ----- ----- ---313 418 172 46 108 8 110 4
Lower Case letter frequency analysis comple
// if the value of the letter at index is greater than or equal // to 'A' and less then or equal to 'Z' // then subtract that letter from 'A' to get the frequency array index // increment value at the index of the value in frequency array