facendomi visualizzare tutte le somme
che vuol dire? nel codice che metti non c'è nessun output...