Question: Q 1 . Write a complete C program that should be able to read ten alphabets between A , B and C from users.

"Q1. Write a complete C program that should be able to read ten alphabets between A, B
and C from users. The program should then display a list of all entered alphabets and
the total number of each alphabet. You are required to write the program by applying
the modular programming concept as have been taught in the class. A list (an array)
to store 10 characters should be created in the main function and as part of the
program, you are required to:
a) Define a function named readAlpha() to read all the 10 alphabets from the user.
b) Define a function named listAlpha() to display all the entered alphabets as a
list.
c) Define a function named findTotal() to count and display the total numb TJ14 er for
each alphabet entered. Also determine which alphabet has the highest number of
hit then return the result to the main function and print the result from the main
function."

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!