Question: USE SUBLIME TEXT! ask. red to submit as a part of assignment 2) Create a one-dimensional array to read 20 alphabetical letters (your program should
USE SUBLIME TEXT!
ask. red to submit as a part of assignment 2) Create a one-dimensional array to read 20 alphabetical letters (your program should be able to detect and print out an error message if a non-alphabetical letter is entered). As eacn letter is entered, print a message saying "duplicate letter if the letter is already in the array. Write a function that can sort the array after all 20 letters have been entered. Write another function that print out the most frequent letter and number of times it was entered. Prepare for the case where all 20 letters are different, or all are the same [Make use of sample solution given for Task 72] Sample output: since RajiPro Ance w/ISD/TSD_TP2201 Seek? Enter 2a alphabets 2 is a duplicate letter. 4 is not an alphabet Is is not an alphabet is a duplicate letter. is a duplicate letter. i is a duplicate letter. is a duplicate letter. is a duplicate letter. is a duplicate letter. 1 is a duplicate letter. is a duplicate letter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
