Professional Documents
Culture Documents
OMit
OMit
DNSK2
DNSK3
DNSK4
DNSK5
Read the data from a file called "input.txt" as a string of characters into
memory. Lowercase all the letters Replace all punctuation with a hyphen (-),
Output the new string from memory to a file called "output.txt".
For example:
input.txt" contains "I'm already born. I'm already wise. I'm already worn. I'm
already wonderin', "What am I?"
"output.txt" should contain "i-m already born- i-m already wise- i-m already
worn- i-m already wonderin-- -what am i-"
DNSK6
DNSK7
DNSK8
DNSK9
DNSK10
DNSK11
DNSK12