Question: You are required to write a C programme that processes an array of integers through various operations. Please address the following sub - questions. 1
You are required to write a C programme that processes an array of integers through various operations. Please address the following subquestions.
Write a function that accepts an array of integers and its size as parameters to print the elements of a character array.
Implement a function to sort the array of characters in ascending order. The function should take an array of integers and its size as parameters. Use the print function to display the sorted array.
Write a function to check if the array contains the letter a
The main function should be organised as follows:
Prompt the user to input characters eg letters
Display each element contained in the input array using the print function.
Sort the array using the sort function.
Display each element contained in the sorted array using the print function.
Check the sorted array to see if it contains the letter a
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
