Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 letterStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started