Prima versione con valori long

This commit is contained in:
La Programmatrice Verde 2024-11-06 20:14:37 +01:00
parent 65e1556902
commit 2a8366e2b3
20 changed files with 113 additions and 1 deletions

View File

@ -4,6 +4,19 @@ class Program
{ {
static void Main(string[] args) static void Main(string[] args)
{ {
Console.WriteLine("Hello, World!"); //dichiarazione e inizializzazione variabili
long fattore1, fattore2, prodotto;
fattore2=1;
//input
Console.Write("Inserire un numero: ");
fattore1=Convert.ToInt64(Console.ReadLine());
//calcolo tabellina
for(fattore2=1; fattore2<=10; fattore2++){
prodotto=fattore1*fattore2;
//output ogni tabellina
Console.Write(fattore1);
Console.Write(" x " +fattore2);
Console.WriteLine(" = " +prodotto);
}
} }
} }

BIN
bin/Debug/net8.0/tabellina Executable file

Binary file not shown.

View File

@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v8.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v8.0": {
"tabellina/1.0.0": {
"runtime": {
"tabellina.dll": {}
}
}
}
},
"libraries": {
"tabellina/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net8.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "8.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]

BIN
obj/Debug/net8.0/apphost Executable file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("tabellina")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+65e155690294a9fa61e9895c06207d69684f7848")]
[assembly: System.Reflection.AssemblyProductAttribute("tabellina")]
[assembly: System.Reflection.AssemblyTitleAttribute("tabellina")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generato dalla classe WriteCodeFragment di MSBuild.

View File

@ -0,0 +1 @@
ce4fd8e8626f02931c2673ae1a1615181e132b95d88f0113d9a4256038275005

View File

@ -0,0 +1,13 @@
is_global = true
build_property.TargetFramework = net8.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = tabellina
build_property.ProjectDir = /home/BrainTheBest5/git/tabellina/
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

Binary file not shown.

View File

@ -0,0 +1 @@
113572724e916c6fadaa00a13daed8ee23079fdf38fd19471f46d79cd6588531

View File

@ -0,0 +1,14 @@
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.deps.json
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.runtimeconfig.json
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.dll
/home/BrainTheBest5/git/tabellina/bin/Debug/net8.0/tabellina.pdb
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.GeneratedMSBuildEditorConfig.editorconfig
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.AssemblyInfoInputs.cache
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.AssemblyInfo.cs
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.csproj.CoreCompileInputs.cache
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.dll
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/refint/tabellina.dll
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.pdb
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/tabellina.genruntimeconfig.cache
/home/BrainTheBest5/git/tabellina/obj/Debug/net8.0/ref/tabellina.dll

Binary file not shown.

View File

@ -0,0 +1 @@
4c4e1dae03d972bd1d8a3c427809d30c1a27ba390553ae92b2b26a03b98e26e7

Binary file not shown.