Text processing/1: Difference between revisions
→{{header|Kotlin}}: Re-ran program following recovery and mirroring of full data file.
Thundergnat (talk | contribs) (Add mirror of data file. (Link is 404)) |
(→{{header|Kotlin}}: Re-ran program following recovery and mirroring of full data file.) |
||
Line 2,201:
=={{header|Kotlin}}==
▲<lang scala>// version 1.2.0
import java.io.File
Line 2,255 ⟶ 2,254:
{{out}}
Abbreviated output:
<pre>
Line:
Line:
Line:
Line:
Line:
....
Line:
Line: 2004-12-28 Reject: 1 Accept: 23 Line_tot: 77.800 Line_avg: 3.383
Line: 2004-12-29 Reject: 1 Accept: 23 Line_tot: 56.300 Line_avg: 2.448
Line: 2004-12-30 Reject: 1 Accept: 23 Line_tot: 65.300 Line_avg: 2.839
Line: 2004-12-31 Reject: 1 Accept: 23 Line_tot: 47.300 Line_avg: 2.057
File = readings.txt
Total =
Readings =
Average =
Maximum run of
ends at line starting with date:
</pre>
|