Rot-13: Difference between revisions
Content added Content deleted
(Undo revision 104951 by 122.3.171.14 (talk) Vandalism) |
(Improved D version) |
||
Line 392: | Line 392: | ||
=={{header|D}}== |
=={{header|D}}== |
||
<lang d>import std.stdio, std.string; |
|||
{{works with|D|2}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
} |
|||
void main() { |
|||
writeln("Gur Dhvpx Oebja Sbk Whzcf Bire Gur Ynml Qbt!".rot13()); |
|||
⚫ | |||
Output: |
|||
<pre>The Quick Brown Fox Jumps Over The Lazy Dog!</pre> |
|||
{{works with|D|1}} |
{{works with|D|1}} |
||
<lang d>import std.stdio, std.string; |
<lang d>import std.stdio, std.string; |