replace tab with space

This commit is contained in:
Alexander Zhirov 2021-11-08 17:40:56 +03:00
parent 9d57f84918
commit d8971061be
1 changed files with 9 additions and 9 deletions

View File

@ -2,14 +2,14 @@ import std.stdio;
void main()
{
immutable byte inchesPerFoot = 12;
immutable cmPerInch = 2.54;
immutable byte inchesPerFoot = 12;
immutable cmPerInch = 2.54;
foreach (feet; 5 .. 7)
{
foreach (inches; 0 .. inchesPerFoot)
{
writefln("%d'%d''\t%f'", feet, inches, (feet * inchesPerFoot + inches) * cmPerInch);
}
}
foreach (feet; 5 .. 7)
{
foreach (inches; 0 .. inchesPerFoot)
{
writefln("%d'%d''\t%f'", feet, inches, (feet * inchesPerFoot + inches) * cmPerInch);
}
}
}