From 10d60f3b511b342f6ae216dd26324affcb68aa94 Mon Sep 17 00:00:00 2001 From: La Programmatrice Verde Date: Fri, 11 Apr 2025 12:32:16 +0200 Subject: [PATCH] Caso default --- Program.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Program.cs b/Program.cs index 690cd36..4ea032f 100644 --- a/Program.cs +++ b/Program.cs @@ -119,6 +119,10 @@ class Program { } Pausa(); break; + default: + Console.WriteLine("Opzione non valida."); + Pausa(); + break; } } while (scelta != 0);