Old Russian measure of length: Difference between revisions
Content deleted Content added
→{{header|D}}: added D |
Small changes in D entry |
||
Line 23:
<lang d>import std.stdio, std.string, std.algorithm, std.conv;
void main(in string[]
auto factor = ["arshin": 0.7112,
if (a.length == 3 && isNumeric(a[1])) {▼
"
"
"
"
"
"sazhen":
"
"
"
▲ "meter" : 1.0,
▲ writeln("Please provide a number and unit");
}</lang>
{{out}}
|