Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Programming. Please make sure all the parts are answered, the code is copy-able, and compiles so i can give a thumbs up :-) Use

Java Programming. Please make sure all the parts are answered, the code is copy-able, and compiles so i can give a thumbs up :-)

image text in transcribed

image text in transcribed

Use this paragraph for the last run:

Apollo 11 was the spaceflight that landed the first two humans on the Moon. Mission commander Neil Armstrong and pilot Buzz Aldrin, both American, landed the lunar module Eagle on July 20, 1969. Armstrong became the first to step onto the lunar surface six hours later on July 21. Aldrin joined him about 20 minutes later. They spent about two and a quarter hours together outside the spacecraft, and collected lunar material to bring back to Earth. Michael Collins piloted the command module Columbia alone in lunar orbit while they were on the Moon's surface. Armstrong and Aldrin spent just under a day on the lunar surface before rendezvousing with Columbia in lunar orbit.

30 18 points] You've been hired by Readability Ravens to write a Java console application that analyzes a paragraph for readability using the Coleman Liau index. Prompt the user for a paragraph, and then calculate and show the following: Number of characters Number of whitespace characters. Number of non-whitespace characters. Number of sentences these are delimited by periods Number of words -these are delimited by one or more spaces, commas, and periods. Number of word letters Coleman Liau index this is calculated as follows: 1) Count the number of sentences. 2) Count the number of words. 3) Count the number of letters in words. 4) Calculate L Letters Words x 100. 5) Calculate S Sentences Words x 100. 6) Calculate CLI 0.0588L 0.296S 15.8

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeffrey A. Hoffer Fred R. McFadden

4th Edition

0805360476, 978-0805360479

More Books

Students also viewed these Databases questions

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago