Sample Exam 2

Problem 3a

For this problem, the project can be found in the folder SE2-3a.

The main program creates source files (along with a threshhold). The main program invokes a method (using this information as parameters) that you will have to write so that the main program works correctly.

Your method needs to read the file and display exactly those ints (from the file) that exceed that threshhold.


Output:

Sample Exam2 - Problem 3a

 Test 1
These are the values in the file greater than 111
125
140
121
112
200

 Test 2
These are the values in the file greater than 81
88
100
110
90
125
140
121
99
111
82
112
200