Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Papa
Aiuto in C# utilizzo variabile non assegnata?
Buonasera a tutti, avrei un problema con C#.
Il codice è questo: http://pastebin.com/3h4crr0Y
Quando provo ad avviare il debug mi da i seguenti errori:
"Errore 1 Utilizzo della variabile locale 'M0' non assegnata 86 19
Errore 2 Utilizzo della variabile locale 'M1' non assegnata 86 24
Errore 3 Utilizzo della variabile locale 'M2' non assegnata 86 29"
Ciò che dovrei fare è, passatemi il termine, "la media delle medie".
10 punti a chiunque riesca a risolvermi gli errori.
Grazie mille a tutti
2 AnswersProgrammazione e Design8 years ago