Question: Write a C program that includes the following: 1. (3 points) A function called CheckWord, which receives a string as an input, and checks whether
Write a C program that includes the following:
1. (3 points) A function called CheckWord, which receives a string as an input, and checks whether it starts with the letter a or not.
2. (7 points) The main function, which lets the user input endlessly a string until the user enter $, then the main calls the function CheckWord to check if the string starts with a or not.
3. (3 points) The program should count how many words entered by the user and start with a, if more than 5 the program displays, Good.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
