Kernighans large earthquake problem: Difference between revisions

Content added Content deleted
(Add source for Rust)
(Added 11l)
Line 17: Line 17:
:# Or: Incorporate the file name into the program, (as it is assumed that the program is single use).
:# Or: Incorporate the file name into the program, (as it is assumed that the program is single use).
<br><br>
<br><br>

=={{header|11l}}==
{{trans|Python}}

<lang 11l>L(ln) File(‘data.txt’).read_lines()
I Float(ln.split(‘ ’, group_delimiters' 1B)[2]) > 6
print(ln)</lang>

{{out}}
<pre>
8/27/1883 Krakatoa 8.8
5/18/1980 MountStHelens 7.6
</pre>


=={{header|ALGOL 68}}==
=={{header|ALGOL 68}}==