Question: Write a C program named calcWordAvg.c that calculates the average word length for a sentence: Enter a sentence: It was deja vu all over again.

 Write a C program named calcWordAvg.c that calculates the average word

Write a C program named calcWordAvg.c that calculates the average word length for a sentence: Enter a sentence: It was deja vu all over again. Average word length: 3.4 For simplicity, your program should consider a punctuation mark to be part of the word to which it is attached. Display the average word length to one decimal place. Put the source code of calcWordAvg.c in your answer sheet. In your answer sheet, please also attach a screenshot of the output when entering the sentence "I am working on program challenge 7." Upload your file calcWordAvg.c to iCollege

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!