Question: Part 2: You are given a C program q2.c as below. This program is used to calculate the average word length for a sentence (a


Part 2: You are given a C program "q2.c" as below. This program is used to calculate the average word length for a sentence (a string in a single line) Enter a sentence: It was deja vu all over again. Average word length: 3.4 For simplicity, the program considers a punctuation mark to be part of the word to which it is attached. And it displays the average word length to one decimal place include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
