subject

Write a script that will ask the user to enter a sentence. The script should then report the number of words in the sentence and the average length of each word (hint: the split method will be helpful). The script should continue asking for sentences until the user provides a sentence with the word "quit" in it. The script should still analyze the sentence containing quit before exiting. Any capitalization of the word "quit" should be recognized as a command to quit the program Note: if you have punctuation in your sentence such as commas or apostrophe's it is fine to count those characters in the length of the word they are paired with. You do not need to try remove them before finding the length of the word. For example, the word i'll has a length of 4 because we count the apostrophe as well
Sample runs:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
Which of these is a benefit of using objects in a powerpoint presentation? a. collaborators can create the external files while you create and edit the slide show. b. you can easily change the theme and design of the presentation. c. you can have older data in the source file while having up-to-date data in the presentation. d. collaborators can easily share the presentation.
Answers: 2
question
Computers and Technology, 24.06.2019 05:30
Cómo pongo un tomo de llamada sin pagar?
Answers: 1
question
Computers and Technology, 24.06.2019 22:00
Need getting google account back, big issue
Answers: 2
You know the right answer?
Write a script that will ask the user to enter a sentence. The script should then report the number...
Questions
question
Mathematics, 01.04.2020 16:48
question
Social Studies, 01.04.2020 16:49
question
Mathematics, 01.04.2020 16:49
Questions on the website: 13722361