Reverse words in a string: Difference between revisions

Content added Content deleted
Line 695: Line 695:


=={{header|Fortran}}==
=={{header|Fortran}}==
Compiled using G95 on x86 system running Puppy Linux
Compiled using G95 on x86 system running Puppy Linux.
Fortran syntax is mostly Fortran 77
Fortran syntax is mostly Fortran 77.


<lang fortran>
<lang fortran>
Line 727: Line 727:
end
end


<lang>
</lang>


Output from comand: cat frostPoem.txt | reverse
Output from comand: <b>cat frostPoem.txt | reverse</b><p>
where file frostPoem.txt contains the input text<p>


<pre>
<pre>