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

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 Databases Questions!