Write a function named paragraphstats that takes one


Write a function named paragraphStats() that takes one parameter:the name of a file. The file contains a single line of text. The words in the paragraph are separated by spaces. The paragraph consists of one or more sentences, each one terminated with a period. There are no other periods in the paragraph. paragraphStats(0 should print out, on separate lines, the following information: the name of the file;the number of sentences;the average number of words in a sentence(to one decimal place);the number of words n the file;the average number of letters in a word. Only count letters in word length;do not count spaces and punctuation.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a function named paragraphstats that takes one
Reference No:- TGS0124177

Expected delivery within 24 Hours