Old Russian measure of length: Difference between revisions
Content deleted Content added
Small changes in D entry |
Updated D entry |
||
Line 41:
return writeln("Please provide args Value and Unit.");
immutable magnitude =
immutable meters = magnitude * factor[args[2]];
writefln("%s %s to:\n", args[1], args[2]);
writefln("%10s: %s", key, meters / factor[key]);
}</lang>
|