Programming Test

From Simson Garfinkel
Revision as of 22:32, 28 May 2009 by Simson (talk | contribs) (New page: Write a program that does the following: # Downloads the file http://simson.net/words.txt # Prints the following: ## The shortest line. ## The longest line. ## The line that is repeated t...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Write a program that does the following:

  1. Downloads the file http://simson.net/words.txt
  2. Prints the following:
    1. The shortest line.
    2. The longest line.
    3. The line that is repeated the most number of times.
  3. Now, for each of the above, print both the line and the line numbers where it appears.

Use any programming language you want. Show all of your work.