replace tab with space
This commit is contained in:
parent
9d57f84918
commit
d8971061be
|
@ -2,14 +2,14 @@ import std.stdio;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
immutable byte inchesPerFoot = 12;
|
immutable byte inchesPerFoot = 12;
|
||||||
immutable cmPerInch = 2.54;
|
immutable cmPerInch = 2.54;
|
||||||
|
|
||||||
foreach (feet; 5 .. 7)
|
foreach (feet; 5 .. 7)
|
||||||
{
|
{
|
||||||
foreach (inches; 0 .. inchesPerFoot)
|
foreach (inches; 0 .. inchesPerFoot)
|
||||||
{
|
{
|
||||||
writefln("%d'%d''\t%f'", feet, inches, (feet * inchesPerFoot + inches) * cmPerInch);
|
writefln("%d'%d''\t%f'", feet, inches, (feet * inchesPerFoot + inches) * cmPerInch);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue