Aggiunte StampaArray e Pausa

This commit is contained in:
La Programmatrice Verde 2025-02-07 08:47:49 +01:00
parent 7e5fac9c45
commit 39331d79c2

View File

@ -39,4 +39,16 @@ class Program {
} }
static void StampaArray(int[] p_array) {
for (int i = 0; i < p_array.Length; i++) {
Console.WriteLine($"Elemento {i}: {p_array[i]}");
}
}
static void Pausa() {
Console.WriteLine("Premere un tasto per continuare. . .");
Console.ReadKey();
Console.Clear();
}
} }