a guest Nov 15th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Write a program that reads text from one file and writes an edited version
  2. of the same text to another file. The edited version is identical to the unedited
  3. version except that every string of two or more consecutive blanks
  4. is replaced by a single blank. Thus, the text is edited to remove any extra
  5. blank characters. Your program should define a function that is called with
  6. the input- and output-file streams as arguments. If this is being done as a
  7. class assignment, obtain the file names from your instructor
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand