| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

Find the Longest Sentence

Page history last edited by Dorai Thodla 12 years, 1 month ago
  1. . Get a file name from command line
  2. . Read the file and count the length of each sentence (in characters)
  3. . At the end of file, print the length of the sentence

Addendum

  1. . Modify the program to print - shortest, longest and average sentence lengths.

 

Tiny Projects

Comments (0)

You don't have permission to comment on this page.