BJP3 Exercise 6.8: doubleSpace
Write a method named
doubleSpace that accepts a
Scanner for an input file and a
PrintStream for an output file as its parameters, writing into the output file a double-spaced version of the text in the input file. You can achieve this task by inserting a blank line between each line of output.
Method problem: For this problem, you are supposed to write a Java method as described. You should not write a complete Java class; just write the method(s) described in the problem statement.
Contacting server and running tests...
Is there a problem?
Contact a Practice-It administrator.