diff --git a/Program.cs b/Program.cs index a3bd178..8435d75 100644 --- a/Program.cs +++ b/Program.cs @@ -48,7 +48,7 @@ class Program { case 3: Console.Clear(); if (matrix1 != null) { - Console.WriteLine($"La media degli elementi della diagonale secondaria è {SommaMatriceDiagonale2(matrix1) / matrix1.GetLength(0)}"); + Console.WriteLine($"La media degli elementi della diagonale secondaria è {double.Round(Convert.ToDouble(SommaMatriceDiagonale2(matrix1)) / Convert.ToDouble(matrix1.GetLength(0)), 3)}"); } else { Console.WriteLine("È necessario creare la matrice prima di calcolare la media della diagonale secondaria."); diff --git a/bin/Debug/net9.0/matrix_3.dll b/bin/Debug/net9.0/matrix_3.dll index 0a49978..ba70490 100644 Binary files a/bin/Debug/net9.0/matrix_3.dll and b/bin/Debug/net9.0/matrix_3.dll differ diff --git a/bin/Debug/net9.0/matrix_3.pdb b/bin/Debug/net9.0/matrix_3.pdb index 4053543..f15045c 100644 Binary files a/bin/Debug/net9.0/matrix_3.pdb and b/bin/Debug/net9.0/matrix_3.pdb differ diff --git a/obj/Debug/net9.0/matrix_3.AssemblyInfo.cs b/obj/Debug/net9.0/matrix_3.AssemblyInfo.cs index f396c51..ed2cbb8 100644 --- a/obj/Debug/net9.0/matrix_3.AssemblyInfo.cs +++ b/obj/Debug/net9.0/matrix_3.AssemblyInfo.cs @@ -13,10 +13,10 @@ using System.Reflection; [assembly: System.Reflection.AssemblyCompanyAttribute("matrix_3")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] -[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+dc215ec0c9fb0b60b5c23be7e1576b99eae95207")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5c14a4eba069c8ea1c0f874ffc7a472131d0fd77")] [assembly: System.Reflection.AssemblyProductAttribute("matrix_3")] [assembly: System.Reflection.AssemblyTitleAttribute("matrix_3")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] -// Generated by the MSBuild WriteCodeFragment class. +// Generato dalla classe WriteCodeFragment di MSBuild. diff --git a/obj/Debug/net9.0/matrix_3.AssemblyInfoInputs.cache b/obj/Debug/net9.0/matrix_3.AssemblyInfoInputs.cache index 81bf44a..5b4e1bf 100644 --- a/obj/Debug/net9.0/matrix_3.AssemblyInfoInputs.cache +++ b/obj/Debug/net9.0/matrix_3.AssemblyInfoInputs.cache @@ -1 +1 @@ -8493a30462899468db4dc415862ca2f4a4893c39f3677a8dd9f2568772d91287 +81258766c1a946f27a1bdefb752d520fcb8e64dd2088a332442503f98184c5ab diff --git a/obj/Debug/net9.0/matrix_3.dll b/obj/Debug/net9.0/matrix_3.dll index 0a49978..ba70490 100644 Binary files a/obj/Debug/net9.0/matrix_3.dll and b/obj/Debug/net9.0/matrix_3.dll differ diff --git a/obj/Debug/net9.0/matrix_3.pdb b/obj/Debug/net9.0/matrix_3.pdb index 4053543..f15045c 100644 Binary files a/obj/Debug/net9.0/matrix_3.pdb and b/obj/Debug/net9.0/matrix_3.pdb differ diff --git a/obj/Debug/net9.0/ref/matrix_3.dll b/obj/Debug/net9.0/ref/matrix_3.dll index 8852964..55d334f 100644 Binary files a/obj/Debug/net9.0/ref/matrix_3.dll and b/obj/Debug/net9.0/ref/matrix_3.dll differ diff --git a/obj/Debug/net9.0/refint/matrix_3.dll b/obj/Debug/net9.0/refint/matrix_3.dll index 8852964..55d334f 100644 Binary files a/obj/Debug/net9.0/refint/matrix_3.dll and b/obj/Debug/net9.0/refint/matrix_3.dll differ