Aggiunta commento tattico

This commit is contained in:
La Programmatrice Verde 2025-02-10 20:27:35 +01:00
parent 375e8e3138
commit e1bdc5ce81
3 changed files with 4 additions and 4 deletions

View File

@ -46,7 +46,7 @@ class Program {
for (int i = 0; i < p_array.Length; i++) {
occorrenza = 0;//reset del contatore delle occorrenze
if (p_array[i] != temp) {
if (p_array[i] != temp) {//se l'elemento che sto guardando ora (p_array[i]) è uguale a quello che stavo guardando prima (temp), non vado a contare quante volte è presente e salto al prossimo elemento
temp = p_array[i];
for (int j = 0; j < p_array.Length; j++) { //verifico se p_array[i] è già nell'array elementi
if (elementi[j] == temp) {

View File

@ -13,10 +13,10 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("interrogazione_1")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+39331d79c2ce0dbc1a252c8942adc30b1f54ae45")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+375e8e313894d1ba85f5e83e75b8613a2e55c56d")]
[assembly: System.Reflection.AssemblyProductAttribute("interrogazione_1")]
[assembly: System.Reflection.AssemblyTitleAttribute("interrogazione_1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generato dalla classe WriteCodeFragment di MSBuild.
// Generated by the MSBuild WriteCodeFragment class.

View File

@ -1 +1 @@
bc30cb61052e6223b011638802fec2b5eb489b9b7ae4390f67ab697fdedf08f4
2e6c6a3c5d7e586e8470a2be6f7df96156c47b9355983c88595a6e9d2d51c521