Correzione calcoli finali
This commit is contained in:
parent
9e063c4d44
commit
387cff8d7d
@ -84,16 +84,16 @@ class Program {
|
||||
Console.WriteLine("Spedizione prodotti con IVA 10%: " + (spedizione * nElementiDieci));
|
||||
Console.WriteLine("Spedizione prodotti con IVA 22%: " + (spedizione * nElementiVentiDue));
|
||||
|
||||
Console.WriteLine("Assicurazione prodotti con IVA 10%: " + ((totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) * assicurazione));
|
||||
Console.WriteLine("Assicurazione prodotti con IVA 22%: " + ((totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100) * assicurazione));
|
||||
Console.WriteLine("Assicurazione prodotti con IVA 10%: " + (totArticoliIvaDieci * assicurazione));
|
||||
Console.WriteLine("Assicurazione prodotti con IVA 22%: " + (totArticoliIvaVentiDue * assicurazione));
|
||||
|
||||
Console.WriteLine("Totale spedizione prodotti con IVA 10%: " + ((spedizione * nElementiDieci) + (totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) * assicurazione));
|
||||
// |Totale spedizione IVA 10% | |Totale assicurazione prodotti IVA 10% |
|
||||
Console.WriteLine("Totale spedizione prodotti con IVA 22%: " + ((spedizione * nElementiVentiDue) + (totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100) * assicurazione));
|
||||
// |Totale spedizione IVA 22% | |Totale assicurazione prodotti IVA 22% |
|
||||
|
||||
Console.WriteLine("Totale complessivo: " + ((totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) + (totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100) + ((spedizione * nElementiDieci) + (totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) * assicurazione) + ((spedizione * nElementiVentiDue) + (totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100) * assicurazione)));
|
||||
// |Totale dei prodotti con IVA 10% | |Totale dei prodotti con IVA 22% | |Totale spedizione IVA 10% | |Totale assicurazione prodotti IVA 10% | |Totale spedizione IVA 22% | |Totale assicurazione prodotti IVA 22% |
|
||||
Console.WriteLine("Totale complessivo: " + ((totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) + (totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100) + (spedizione * nElementiDieci) + (totArticoliIvaDieci * assicurazione) + (spedizione * nElementiVentiDue) + (totArticoliIvaVentiDue * assicurazione)));
|
||||
// |Totale dei prodotti con IVA 10% | |Totale dei prodotti con IVA 22% | |Totale spedizione IVA 10% | |Totale assicurazione - IVA 10% | |Totale spedizione IVA 22% | |Totale assicurazione prodotti IVA 22% |
|
||||
}
|
||||
else {
|
||||
Console.WriteLine("Totale complessivo: " + ((totArticoliIvaDieci + totArticoliIvaDieci * ivaDieci / 100) + (totArticoliIvaVentiDue + totArticoliIvaVentiDue * ivaVentiDue / 100)));
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -13,10 +13,10 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("ripasso2")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+53863e1ac4be1377a83eae80287c563f2e527316")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+9e063c4d44f15ed6af6bad0df32bd9317953ee0c")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("ripasso2")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("ripasso2")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generato dalla classe WriteCodeFragment di MSBuild.
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
|
||||
@ -1 +1 @@
|
||||
71a22bb5b332df50b22e7190262b727c37f86d2a2cf6a646eeb479b9bd432dc1
|
||||
e0fb8768b7bd444964b6894e7ec3e12d3a8d9fd2585e5c327da99f2b40a01a4d
|
||||
|
||||
@ -1 +1 @@
|
||||
c20dfe46c30dfe0da7e44a264a308f3ebf7f10d8c7f844553de63d4a2c653530
|
||||
b8a90b5babd4553615c35f4d5aef5ad179d953bcee32425871fc4c227d07f9b6
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -60,18 +60,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.0, 9.0.0]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.102/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,10 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "lC3NXtrXW/Y=",
|
||||
"dgSpecHash": "uSicE6AfFJI=",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/BrainTheBest5/git/ripasso2/ripasso2.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"/home/BrainTheBest5/.nuget/packages/microsoft.aspnetcore.app.ref/9.0.0/microsoft.aspnetcore.app.ref.9.0.0.nupkg.sha512"
|
||||
],
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
||||
@ -54,18 +54,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.AspNetCore.App.Ref",
|
||||
"version": "[9.0.0, 9.0.0]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.102/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user