Skip to content

Commit

Permalink
Merge pull request #2 from Mijo-Software/202112122108
Browse files Browse the repository at this point in the history
202112122108
  • Loading branch information
mjohne authored Dec 12, 2021
2 parents 33389ec + 9f074d4 commit b28afd9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 3 additions & 1 deletion EulerBrick.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
<PackageLicenseFile>C:\Users\mj-pr\OneDrive\Documents\unlicense.txt</PackageLicenseFile>
<Authors>Mijo Software</Authors>
<PackageProjectUrl>https://mijo-software.de</PackageProjectUrl>
<PackageReleaseNotes>1.0.0.0</PackageReleaseNotes>
<PackageReleaseNotes>1.0.1.2</PackageReleaseNotes>
<Version>1.0.1.2</Version>
<IsPublishable>False</IsPublishable>
</PropertyGroup>

<ItemGroup>
Expand Down
6 changes: 2 additions & 4 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@
if ((f % 1) == 0)
{
n++;
Console.WriteLine(value: $"{n} = {{a: {a}, b: {b}, c: {c}}}");

Console.WriteLine(value: $"{n} = {{a: {a}, b: {b}, c: {c}}}{{d: {Math.Round(a: (double)d)}, e: {Math.Round(a: (double)e)}, f: {Math.Round(a: (double)f)}}}");
g = Math.Sqrt(d: Math.Pow(x: a, y: 2) + Math.Pow(x: b, y: 2) + Math.Pow(x: c, y: 2));
if ((g % 1) == 0)
{
//n++;
Console.WriteLine(value: $"{n} = {{a: {a}, b: {b}, c: {c}; d: {Math.Round(a: (double)g)}}}");
Console.WriteLine(value: $"{n} = {{a: {a}, b: {b}, c: {c}}}{{d: {Math.Round(a: (double)d)}, e: {Math.Round(a: (double)e)}, f: {Math.Round(a: (double)f)}}}{{g: {Math.Round(a: (double)g)}");
}
}
}
Expand Down

0 comments on commit b28afd9

Please sign in to comment.