Splitting a file

  • 20
Read 3 file names from the console: file1, file2, file3. Split file1 as follows: Write the first half of its bytes to file2,and write the second half of its bytes to file3. If the number of bytes in file1 is odd, then file2 should contain the larger half. Close the streams.
You can't complete this task, because you're not signed in.
Comments
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet