1. Engineering
  2. Computer Science
  3. please give a screen shot of the output...

Question: please give a screen shot of the output...

Question details

1) Write a method called getlnfo that prints the minimum, maximum numbers in an array of integers The length of the array and its elements should be asked as input from the user. Use Scanner class to read the input values. You may assume that the array has at least one element. 2) Write a method called 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.

Please give a screen shot of the output

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution