Difference between revisions of "Programming Test"
From Simson Garfinkel
Jump to navigationJump to search
m (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...) |
m |
||
Line 1: | Line 1: | ||
Write a program that does the following: | Write a program that does the following: | ||
# Downloads the file http://simson.net/ | # Downloads the file http://simson.net/train.txt | ||
# Prints the following: | # Prints the following: | ||
## The shortest line. | ## The shortest line. |
Latest revision as of 21:40, 28 May 2009
Write a program that does the following:
- Downloads the file http://simson.net/train.txt
- Prints the following:
- The shortest line.
- The longest line.
- The line that is repeated the most number of times.
- 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.